Skip to content

Commit

Permalink
Fixed toArray on array
Browse files Browse the repository at this point in the history
  • Loading branch information
chinleung committed Feb 27, 2020
1 parent ec7aff9 commit 8b3b420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RunsOnBrowserStack.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ protected function detectBrowser(string $slug): array
strtolower($browser[1])
);

$caps = DesiredCapabilities::$method()->toArray();
$caps = DesiredCapabilities::$method();
}

return array_merge($capabilities, $caps->toArray());
Expand Down

0 comments on commit 8b3b420

Please sign in to comment.