Passed
Pull Request — master (#66)
by Alex
02:45
created
Validation/Internal/InterfaceValidator/VisitorOfISpatialTypeReference.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Helpers/ModelHelpersVocabularyAnnotation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
src/Helpers/VocabularyAnnotationHelpers.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
         /** @var IVocabularyAnnotation $annotation */
19 19
         $annotation = $this;
20 20
         return $annotation->getSerializationLocation($model) ===
21
-               EdmVocabularyAnnotationSerializationLocation::Inline() || null === $annotation->targetString();
21
+                EdmVocabularyAnnotationSerializationLocation::Inline() || null === $annotation->targetString();
22 22
     }
23 23
 
24 24
     public function targetString(): ?string
Please login to merge, or discard this patch.