@@ -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 |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | ): iterable { |
| 35 | 35 | assert( |
| 36 | 36 | null === $term || $term instanceof ITerm || is_string($term), |
| 37 | - '$term should be a string or instanceof iTerm' |
|
| 37 | + '$term should be a string or instanceof iTerm' |
|
| 38 | 38 | ); |
| 39 | 39 | if (null === $term) { |
| 40 | 40 | return $this->processNullVocabularyAnnotationTerm($element, $qualifier, $type); |