Skip to content

Commit

Permalink
argv fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemKo7v committed Feb 13, 2018
1 parent 8b5ad85 commit 750c3e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/apiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ public function provider()
}

protected function getCommandLineParameter($param, $default){
foreach($argv as $arg){
foreach($_SERVER['argv'] as $arg){
$args = explode('=', $arg);
if(2 === count($args)){
if(("--" . $param) === $args[0]){
Expand Down

0 comments on commit 750c3e5

Please sign in to comment.