@@ -16,7 +16,7 @@ |
||
16 | 16 | $primitive = $typeRef->getDefinition(); |
17 | 17 | assert($primitive instanceof IPrimitiveType); |
18 | 18 | return null !== $typeRef->getDefinition() && !$primitive->getPrimitiveKind()->isSpatial() |
19 | - ? [ InterfaceValidator::createTypeRefInterfaceTypeKindValueMismatchError($typeRef) ] : null; |
|
19 | + ? [InterfaceValidator::createTypeRefInterfaceTypeKindValueMismatchError($typeRef)] : null; |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | public function forType(): string |
@@ -37,7 +37,7 @@ |
||
37 | 37 | string $type = null |
38 | 38 | ): iterable { |
39 | 39 | assert( |
40 | - null === $term || $term instanceof ITerm || is_string($term), /** @phpstan-ignore-line */ |
|
40 | + null === $term || $term instanceof ITerm || is_string($term), /** @phpstan-ignore-line */ |
|
41 | 41 | '$term should be a string or instanceof iTerm' |
42 | 42 | ); |
43 | 43 | if (null === $term) { |
@@ -24,7 +24,7 @@ |
||
24 | 24 | $references[] = $reference; |
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 |