@@ -17,7 +17,7 @@ |
||
17 | 17 | $references[] = $expression->getReferencedEntitySet(); |
18 | 18 | return null; |
19 | 19 | } else { |
20 | - return [ InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedEntitySet') ]; |
|
20 | + return [InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedEntitySet')]; |
|
21 | 21 | } |
22 | 22 | } |
23 | 23 |
@@ -15,7 +15,7 @@ |
||
15 | 15 | assert($typeRef instanceof ICollectionTypeReference); |
16 | 16 | return $typeRef->getDefinition() != null && |
17 | 17 | !$typeRef->getDefinition()->getTypeKind()->IsCollection() ? |
18 | - [ InterfaceValidator::CreateTypeRefInterfaceTypeKindValueMismatchError($typeRef)]: null; |
|
18 | + [InterfaceValidator::CreateTypeRefInterfaceTypeKindValueMismatchError($typeRef)] : null; |
|
19 | 19 | } |
20 | 20 | |
21 | 21 | public function forType(): string |
@@ -16,7 +16,7 @@ |
||
16 | 16 | assert($typeRef instanceof IBinaryTypeReference); |
17 | 17 | $primitive = $typeRef->getDefinition(); |
18 | 18 | assert($primitive instanceof IPrimitiveType); |
19 | - return $typeRef->getDefinition() != null && !$primitive->getPrimitiveKind()->isBinary() ? [ InterfaceValidator::CreateTypeRefInterfaceTypeKindValueMismatchError($typeRef) ] : null; |
|
19 | + return $typeRef->getDefinition() != null && !$primitive->getPrimitiveKind()->isBinary() ? [InterfaceValidator::CreateTypeRefInterfaceTypeKindValueMismatchError($typeRef)] : null; |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | public function forType(): string |
@@ -59,7 +59,7 @@ |
||
59 | 59 | break; |
60 | 60 | } |
61 | 61 | |
62 | - return $typeKindError != null ? [$typeKindError ] : null; |
|
62 | + return $typeKindError != null ? [$typeKindError] : null; |
|
63 | 63 | } |
64 | 64 | |
65 | 65 | public function forType(): string |
@@ -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 |
@@ -16,7 +16,7 @@ |
||
16 | 16 | assert($typeRef instanceof IDecimalTypeReference); |
17 | 17 | $primitive = $typeRef->getDefinition(); |
18 | 18 | assert($primitive instanceof IPrimitiveType); |
19 | - return $typeRef->getDefinition() != null && !$primitive->getPrimitiveKind()->isDecimal() ? [ InterfaceValidator::CreateTypeRefInterfaceTypeKindValueMismatchError($typeRef) ] : null; |
|
19 | + return $typeRef->getDefinition() != null && !$primitive->getPrimitiveKind()->isDecimal() ? [InterfaceValidator::CreateTypeRefInterfaceTypeKindValueMismatchError($typeRef)] : null; |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | public function forType(): string |
@@ -17,7 +17,7 @@ |
||
17 | 17 | $followup[] = $annotation->getValue(); |
18 | 18 | return null; |
19 | 19 | } else { |
20 | - return [InterfaceValidator::CreatePropertyMustNotBeNullError($annotation, 'Value') ]; |
|
20 | + return [InterfaceValidator::CreatePropertyMustNotBeNullError($annotation, 'Value')]; |
|
21 | 21 | } |
22 | 22 | } |
23 | 23 |
@@ -14,7 +14,7 @@ |
||
14 | 14 | { |
15 | 15 | assert($function instanceof IFunction); |
16 | 16 | // No need to return the return type as followup - it is handled as such in the IFunctionBase visitor. |
17 | - return ($function->getParameters() === null) ? [ InterfaceValidator::CreatePropertyMustNotBeNullError($function, 'ReturnType') ] : null; |
|
17 | + return ($function->getParameters() === null) ? [InterfaceValidator::CreatePropertyMustNotBeNullError($function, 'ReturnType')] : null; |
|
18 | 18 | } |
19 | 19 | |
20 | 20 | public function forType(): string |
@@ -14,7 +14,7 @@ |
||
14 | 14 | { |
15 | 15 | assert($value instanceof IBinaryValue); |
16 | 16 | return $value->getValue() == null ? |
17 | - [InterfaceValidator::CreatePropertyMustNotBeNullError($value, 'Value') ] |
|
17 | + [InterfaceValidator::CreatePropertyMustNotBeNullError($value, 'Value')] |
|
18 | 18 | : |
19 | 19 | null; |
20 | 20 | } |