@@ -20,11 +20,11 @@ |
||
20 | 20 | } |
21 | 21 | public static function getCycleSentinel(): ?stdClass |
22 | 22 | { |
23 | - return (object)[]; |
|
23 | + return (object) []; |
|
24 | 24 | } |
25 | 25 | public static function getSecondPassCycleSentinel(): ?stdClass |
26 | 26 | { |
27 | - return (object)[]; |
|
27 | + return (object) []; |
|
28 | 28 | } |
29 | 29 | public static function GetBoxed(bool $value) |
30 | 30 | { |
@@ -96,7 +96,7 @@ |
||
96 | 96 | if (count($set1) != count($set2)) { |
97 | 97 | return false; |
98 | 98 | } |
99 | - for ($i = count($set1) -1; $i > -1; --$i) { |
|
99 | + for ($i = count($set1) - 1; $i > -1; --$i) { |
|
100 | 100 | if ($set1[$i] !== $set2[$i]) { |
101 | 101 | return false; |
102 | 102 | } |
@@ -17,7 +17,7 @@ |
||
17 | 17 | $references[] = $type->getEntityType(); |
18 | 18 | return null; |
19 | 19 | } else { |
20 | - return [ InterfaceValidator::CreatePropertyMustNotBeNullError($type, 'EntityType') ]; |
|
20 | + return [InterfaceValidator::CreatePropertyMustNotBeNullError($type, 'EntityType')]; |
|
21 | 21 | } |
22 | 22 | } |
23 | 23 |
@@ -26,7 +26,7 @@ |
||
26 | 26 | |
27 | 27 | return null; |
28 | 28 | } else { |
29 | - return [ InterfaceValidator::CreatePropertyMustNotBeNullError($type, 'Definition')]; |
|
29 | + return [InterfaceValidator::CreatePropertyMustNotBeNullError($type, 'Definition')]; |
|
30 | 30 | } |
31 | 31 | } |
32 | 32 |
@@ -24,7 +24,7 @@ |
||
24 | 24 | $references[] = $expression->getReferencedFunction(); |
25 | 25 | return null; |
26 | 26 | } else { |
27 | - return [ InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedFunction') ]; |
|
27 | + return [InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedFunction')]; |
|
28 | 28 | } |
29 | 29 | } |
30 | 30 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | $followup[] = $value->getValue(); |
18 | 18 | return null; |
19 | 19 | } else { |
20 | - return [ InterfaceValidator::CreatePropertyMustNotBeNullError($value, 'Value') ]; |
|
20 | + return [InterfaceValidator::CreatePropertyMustNotBeNullError($value, 'Value')]; |
|
21 | 21 | } |
22 | 22 | } |
23 | 23 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | $references[] = $expression->getReferencedParameter(); |
18 | 18 | return null; |
19 | 19 | } else { |
20 | - return [ InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedParameter') ]; |
|
20 | + return [InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedParameter')]; |
|
21 | 21 | } |
22 | 22 | } |
23 | 23 |
@@ -18,7 +18,7 @@ |
||
18 | 18 | $followup[] = $type->getElementType(); |
19 | 19 | return null; |
20 | 20 | } else { |
21 | - return[ InterfaceValidator::CreatePropertyMustNotBeNullError($type, 'ElementType')]; |
|
21 | + return[InterfaceValidator::CreatePropertyMustNotBeNullError($type, 'ElementType')]; |
|
22 | 22 | } |
23 | 23 | } |
24 | 24 |
@@ -12,6 +12,6 @@ |
||
12 | 12 | { |
13 | 13 | public function getValidatedType(): string |
14 | 14 | { |
15 | - return IPrimitiveValue::class ; |
|
15 | + return IPrimitiveValue::class; |
|
16 | 16 | } |
17 | 17 | } |