Skip to content

Commit

Permalink
Add null check
Browse files Browse the repository at this point in the history
  • Loading branch information
vearutop committed Apr 28, 2022
1 parent 172e60f commit 34de059
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/TextUI/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,9 +338,10 @@ protected function handleArguments(array $argv)
break;

case '--test-suffix':
$o1 = isset($option[1]) ? $option[1] : '';
$this->arguments['testSuffixes'] = explode(
',',
$option[1]
$o1
);
break;

Expand Down

0 comments on commit 34de059

Please sign in to comment.