@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | { |
| 80 | 80 | $key = ClassHelper::classDeclarationLine($lines, 'PlaisioKernel'); |
| 81 | 81 | |
| 82 | - if ($key<=2 || ($lines[$key - 1]!==' */' && $lines[$key - 1]!=='#[\AllowDynamicProperties]')) |
|
| 82 | + if ($key <= 2 || ($lines[$key - 1]!==' */' && $lines[$key - 1]!=='#[\AllowDynamicProperties]')) |
|
| 83 | 83 | { |
| 84 | 84 | throw new RuntimeException('Unable to add property'); |
| 85 | 85 | } |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | $properties = array_merge($properties, $config->queryKernelProperties()); |
| 133 | 133 | } |
| 134 | 134 | |
| 135 | - usort($properties, function ($a, $b) { |
|
| 135 | + usort($properties, function($a, $b) { |
|
| 136 | 136 | return $a['name']<=>$b['name']; |
| 137 | 137 | }); |
| 138 | 138 | |
@@ -132,7 +132,8 @@ |
||
| 132 | 132 | $properties = array_merge($properties, $config->queryKernelProperties()); |
| 133 | 133 | } |
| 134 | 134 | |
| 135 | - usort($properties, function ($a, $b) { |
|
| 135 | + usort($properties, function ($a, $b) |
|
| 136 | + { |
|
| 136 | 137 | return $a['name']<=>$b['name']; |
| 137 | 138 | }); |
| 138 | 139 | |