Passed
Push — master ( 0c2849...ffdaaa )
by butschster
13:46 queued 06:24
created
src/Reactor/tests/Partial/MethodTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
 
179 179
     public function testStatic(): void
180 180
     {
181
-        $method = new Method('test');;
181
+        $method = new Method('test'); ;
182 182
 
183 183
         $this->assertFalse($method->isStatic());
184 184
 
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
 
195 195
     public function testFinal(): void
196 196
     {
197
-        $method = new Method('test');;
197
+        $method = new Method('test'); ;
198 198
 
199 199
         $this->assertFalse($method->isFinal());
200 200
 
@@ -210,7 +210,7 @@  discard block
 block discarded – undo
210 210
 
211 211
     public function testAbstract(): void
212 212
     {
213
-        $method = new Method('test');;
213
+        $method = new Method('test'); ;
214 214
 
215 215
         $this->assertFalse($method->isAbstract());
216 216
 
Please login to merge, or discard this patch.
src/Reactor/src/Partial/Method.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
     {
73 73
         $param = PromotedParameter::fromElement($this->element->addPromotedParameter($name));
74 74
 
75
-        if (\func_num_args() > 1) {
75
+        if (\func_num_args() > 1){
76 76
             $param->setDefaultValue($defaultValue);
77 77
         }
78 78
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,8 @@
 block discarded – undo
72 72
     {
73 73
         $param = PromotedParameter::fromElement($this->element->addPromotedParameter($name));
74 74
 
75
-        if (\func_num_args() > 1) {
75
+        if (\func_num_args() > 1)
76
+        {
76 77
             $param->setDefaultValue($defaultValue);
77 78
         }
78 79
 
Please login to merge, or discard this patch.