[PhpUnitBridge] CS fix

This commit is contained in:
Nicolas Grekas 2019-04-12 16:49:44 +02:00
parent 37eff9bf68
commit 770c7ddec4
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ class ClockMock
{
$self = \get_called_class();
$mockedNs = [substr($class, 0, strrpos($class, '\\'))];
$mockedNs = array(substr($class, 0, strrpos($class, '\\')));
if (0 < strpos($class, '\\Tests\\')) {
$ns = str_replace('\\Tests\\', '\\', $class);
$mockedNs[] = substr($ns, 0, strrpos($ns, '\\'));