diff options
author | Joas Schilling <coding@schilljs.com> | 2025-05-15 08:48:13 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2025-05-15 08:48:13 +0200 |
commit | 5f9117b9391f970d3acce3f0e6c0ddc5d1c9b626 (patch) | |
tree | 1295a1f573095d6011c456f23a98a471eba3543b /tests/lib/AppFramework/Routing/RoutingTest.php | |
parent | 57a49a50aa769450436f4ba617423848a9beaa0e (diff) | |
download | nextcloud-server-ci/noid/update-phpunit10.tar.gz nextcloud-server-ci/noid/update-phpunit10.zip |
test: Fix coding standardsci/noid/update-phpunit10
Signed-off-by: Joas Schilling <coding@schilljs.com>
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); |