@@ -178,7 +178,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | |
@@ -72,7 +72,7 @@ |
||
| 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 | |
@@ -72,7 +72,8 @@ |
||
| 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 | |