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