@@ -20,7 +20,7 @@ |
||
20 | 20 | |
21 | 21 | protected static $defaultName = 'app:create-stubs'; |
22 | 22 | |
23 | - protected function validateData(string|false $data): bool |
|
23 | + protected function validateData(string | false $data): bool |
|
24 | 24 | { |
25 | 25 | return false !== $data and !empty($data); |
26 | 26 | } |
@@ -275,7 +275,7 @@ |
||
275 | 275 | $phrases = explode('.', $description); |
276 | 276 | $phrases = array_filter( |
277 | 277 | $phrases, |
278 | - function ($phrase) { |
|
278 | + function($phrase) { |
|
279 | 279 | return (false !== stripos($phrase, 'returns') or false !== stripos($phrase, 'is returned')); |
280 | 280 | } |
281 | 281 | ); |
@@ -196,7 +196,7 @@ |
||
196 | 196 | $fields = $method['fields']; |
197 | 197 | usort( |
198 | 198 | $fields, |
199 | - function ($a, $b) { |
|
199 | + function($a, $b) { |
|
200 | 200 | return $b['required'] - $a['required']; |
201 | 201 | } |
202 | 202 | ); |