Passed
Pull Request — master (#156)
by Alex
04:51
created
src/Interfaces/Values/IBinaryValue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,5 +17,5 @@
 block discarded – undo
17 17
     /**
18 18
      * @return string[] gets the definition of this binary value
19 19
      */
20
-    public function getValue(): array ;
20
+    public function getValue(): array;
21 21
 }
Please login to merge, or discard this patch.
src/Interfaces/Values/IBooleanValue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,5 +17,5 @@
 block discarded – undo
17 17
     /**
18 18
      * @return bool gets a value indicating whether the value of this boolean value is true or false
19 19
      */
20
-    public function getValue(): bool ;
20
+    public function getValue(): bool;
21 21
 }
Please login to merge, or discard this patch.
src/Interfaces/Values/IDecimalValue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,5 +17,5 @@
 block discarded – undo
17 17
     /**
18 18
      * @return float gets the definition of this decimal  value
19 19
      */
20
-    public function getValue(): float ;
20
+    public function getValue(): float;
21 21
 }
Please login to merge, or discard this patch.
src/Library/Internal/Ambiguous/AmbiguousFunctionBinding.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      */
101 101
     public function getSchemaElementKind(): SchemaElementKind
102 102
     {
103
-        return SchemaElementKind::Function();
103
+        return SchemaElementKind::Function ();
104 104
     }
105 105
 
106 106
     /**
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      */
101 101
     public function getSchemaElementKind(): SchemaElementKind
102 102
     {
103
-        return SchemaElementKind::Function();
103
+        return SchemaElementKind::function();
104 104
     }
105 105
 
106 106
     /**
Please login to merge, or discard this patch.
src/Library/EdmFunction.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      */
101 101
     public function getSchemaElementKind(): SchemaElementKind
102 102
     {
103
-        return SchemaElementKind::Function();
103
+        return SchemaElementKind::Function ();
104 104
     }
105 105
 
106 106
     /**
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
100 100
      */
101 101
     public function getSchemaElementKind(): SchemaElementKind
102 102
     {
103
-        return SchemaElementKind::Function();
103
+        return SchemaElementKind::function();
104 104
     }
105 105
 
106 106
     /**
Please login to merge, or discard this patch.
src/Helpers/ModelHelpers.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
         /*
46 46
          * @var IModel $this
47 47
          */
48
-        return $this->GetAnnotationValue('array', $this, EdmConstants::InternalUri, CsdlConstants::NamespaceAliasAnnotation) ??[];
48
+        return $this->GetAnnotationValue('array', $this, EdmConstants::InternalUri, CsdlConstants::NamespaceAliasAnnotation) ?? [];
49 49
     }
50 50
     /**
51 51
      * Sets an annotation value for an EDM element. If the value is null, no annotation is added and an existing
@@ -280,7 +280,7 @@  discard block
 block discarded – undo
280 280
         /*
281 281
          * @var IModel $this
282 282
          */
283
-        return $this->GetAnnotationValue('array', $this, EdmConstants::InternalUri, CsdlConstants::NamespacePrefixAnnotation)??[];
283
+        return $this->GetAnnotationValue('array', $this, EdmConstants::InternalUri, CsdlConstants::NamespacePrefixAnnotation) ?? [];
284 284
     }
285 285
 
286 286
 
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
         $navigationPropertyMappings = $model->GetAnnotationValue(SplObjectStorage::class, $entitySet, EdmConstants::InternalUri, CsdlConstants::AssociationSetNameAnnotation);
437 437
         assert($navigationPropertyMappings instanceof SplObjectStorage || $navigationPropertyMappings === null);
438 438
         if ($navigationPropertyMappings !== null && $navigationPropertyMappings->offsetExists($property)) {
439
-            $associationSetName = $navigationPropertyMappings->offsetGet($property) ;
439
+            $associationSetName = $navigationPropertyMappings->offsetGet($property);
440 440
         } else {
441 441
             $associationSetName = $model->GetAssociationName($property) . 'Set';
442 442
         }
Please login to merge, or discard this patch.