Skip to content

Commit

Permalink
Use an empty string instead of null
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed May 27, 2020
1 parent 34857bc commit 17b4bef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ protected function getPlatformName() : string
$e = explode('\\', $class);
$testClass = end($e);

return strtolower(str_replace('SchemaManagerTest', null, $testClass));
return strtolower(str_replace('SchemaManagerTest', '', $testClass));
}

protected function setUp() : void
Expand Down

0 comments on commit 17b4bef

Please sign in to comment.