diff options
Diffstat (limited to 'tests/lib/AppFramework/Routing/RoutingTest.php')
-rw-r--r-- | tests/lib/AppFramework/Routing/RoutingTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/AppFramework/Routing/RoutingTest.php b/tests/lib/AppFramework/Routing/RoutingTest.php index 9381423b00c..703e613f790 100644 --- a/tests/lib/AppFramework/Routing/RoutingTest.php +++ b/tests/lib/AppFramework/Routing/RoutingTest.php @@ -360,7 +360,7 @@ class RoutingTest extends \Test\TestCase { $router ->expects($this->exactly(5)) ->method('create') - ->willReturnCallback(function(string $name, string $pattern) use (&$calls) { + ->willReturnCallback(function (string $name, string $pattern) use (&$calls) { $expected = array_shift($calls); $this->assertEquals($expected['name'], $name); $this->assertEquals($expected['pattern'], $pattern); @@ -414,7 +414,7 @@ class RoutingTest extends \Test\TestCase { $router ->expects($this->exactly(5)) ->method('create') - ->willReturnCallback(function(string $name, string $pattern) use (&$calls) { + ->willReturnCallback(function (string $name, string $pattern) use (&$calls) { $expected = array_shift($calls); $this->assertEquals($expected['name'], $name); $this->assertEquals($expected['pattern'], $pattern); |