Passed
Pull Request — master (#1575)
by
unknown
04:18
created
src/Metadata/Driver/TypedPropertiesDriver.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     private function reorderTypes(array $types): array
61 61
     {
62
-        uasort($types, static function ($a, $b) {
62
+        uasort($types, static function($a, $b) {
63 63
             $order = ['null' => 0, 'true' => 1, 'false' => 2, 'int' => 3, 'float' => 4, 'bool' => 5, 'string' => 6];
64 64
 
65 65
             return ($order[$a['name']] ?? 7) <=> ($order[$b['name']] ?? 7);
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
      */
160 160
     private function shouldTypeHint(?ReflectionType $reflectionType): bool
161 161
     {
162
-        if (!$reflectionType instanceof ReflectionNamedType) {
162
+        if ( ! $reflectionType instanceof ReflectionNamedType) {
163 163
             return false;
164 164
         }
165 165
 
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
      */
177 177
     private function shouldTypeHintUnion(?ReflectionType $reflectionType)
178 178
     {
179
-        if (!$reflectionType instanceof \ReflectionUnionType) {
179
+        if ( ! $reflectionType instanceof \ReflectionUnionType) {
180 180
             return false;
181 181
         }
182 182
 
Please login to merge, or discard this patch.