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 Apr 25, 2020
1 parent 20fa29f commit 294e99d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,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 294e99d

Please sign in to comment.