@@ -15,7 +15,7 @@ |
||
| 15 | 15 | assert($typeRef instanceof ICollectionTypeReference); |
| 16 | 16 | return null !== $typeRef->getDefinition() && |
| 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 IRowTypeReference); |
| 17 | 17 | return null !== $typeRef->getDefinition() && |
| 18 | 18 | $typeRef->getDefinition()->getTypeKind() != TypeKind::Row() |
| 19 | - ? [ InterfaceValidator::CreateTypeRefInterfaceTypeKindValueMismatchError($typeRef) ] : null; |
|
| 19 | + ? [InterfaceValidator::CreateTypeRefInterfaceTypeKindValueMismatchError($typeRef)] : null; |
|
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | public function forType(): string |