Passed
Push — master ( 6783b1...482d87 )
by Gaetano
10:15
created
tests/StaticPrototypesTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 
40 40
     public function testCanUseNamedArguments(): void
41 41
     {
42
-        DemoClassTest::addStaticMethod('staticMethodWithNamedArguments', function (int $named_argument){
42
+        DemoClassTest::addStaticMethod('staticMethodWithNamedArguments', function(int $named_argument) {
43 43
             return $named_argument;
44 44
         });
45 45
         $this->assertEquals(12, DemoClassTest::staticMethodWithNamedArguments(named_argument: 12));
Please login to merge, or discard this patch.
tests/PrototypesTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
     public function testCanUseNamedArguments(): void
46 46
     {
47
-        DemoClassTest::addMethod('methodWithNamedArguments', function (int $named_argument){
47
+        DemoClassTest::addMethod('methodWithNamedArguments', function(int $named_argument) {
48 48
             return $named_argument;
49 49
         });
50 50
         $this->assertEquals(12, (new DemoClassTest)->methodWithNamedArguments(named_argument: 12));
Please login to merge, or discard this patch.