tests: fixed array() return

This commit is contained in:
Igor Scheller 2018-09-04 21:44:34 +02:00
parent b52444af8a
commit ce6d0fd13b
2 changed files with 2 additions and 2 deletions

View File

@ -136,6 +136,6 @@ class CallableHandlerTest extends TestCase
$callable = $this->getMockBuilder(stdClass::class) $callable = $this->getMockBuilder(stdClass::class)
->setMethods(['__invoke']) ->setMethods(['__invoke'])
->getMock(); ->getMock();
return array($request, $response, $callable, $handler); return [$request, $response, $callable, $handler];
} }
} }

View File

@ -143,6 +143,6 @@ class RouteDispatcherTest extends TestCase
->method('getPath') ->method('getPath')
->willReturn('/foo%21bar'); ->willReturn('/foo%21bar');
return array($dispatcher, $response, $request, $handler); return [$dispatcher, $response, $request, $handler];
} }
} }