@@ -27,7 +27,7 @@ |
||
27 | 27 | protected static function doGenerate(\ReflectionParameter $parameter): string |
28 | 28 | { |
29 | 29 | try { |
30 | - $defaultValue = !$parameter->allowsNull() |
|
30 | + $defaultValue = ! $parameter->allowsNull() |
|
31 | 31 | ? var_export($parameter->getDefaultValue(), true) |
32 | 32 | : 'null'; |
33 | 33 |
@@ -84,8 +84,8 @@ |
||
84 | 84 | |
85 | 85 | foreach ($methods as $method) { |
86 | 86 | if ( |
87 | - !$method->isFinal() && |
|
88 | - !\in_array($method->name, self::UNSAFE_METHODS, $strict = true) |
|
87 | + ! $method->isFinal() && |
|
88 | + ! \in_array($method->name, self::UNSAFE_METHODS, $strict = true) |
|
89 | 89 | ) { |
90 | 90 | $methodsCode[] = MethodTemplate::generate($method); |
91 | 91 | } |