Passed
Pull Request — master (#156)
by Alex
03:37
created
src/Interfaces/Values/IFloatingValue.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 floating   value
19 19
      */
20
-    public function getValue(): float ;
20
+    public function getValue(): float;
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/VocabularyAnnotationHelpers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
             $annotation,
46 46
             EdmConstants::InternalUri,
47 47
             CsdlConstants::AnnotationSerializationLocationAnnotation,
48
-            (object)$location
48
+            (object) $location
49 49
         );
50 50
     }
51 51
 
Please login to merge, or discard this patch.
src/Helpers/EdmElementComparer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 
145 145
         $thisTypeKeys  = array_keys($thisFunction->getParameters());
146 146
         $otherTypeKeys = array_keys($otherFunction->getParameters());
147
-        $keyCount      =  count($thisTypeKeys);
147
+        $keyCount      = count($thisTypeKeys);
148 148
         for ($i = 0; $i < $keyCount; ++$i) {
149 149
             if (!self::isEquivalentTo(
150 150
                 $thisFunction->getParameters()[$thisTypeKeys[$i]],
@@ -207,7 +207,7 @@  discard block
 block discarded – undo
207 207
 
208 208
         $thisTypeKeys  = array_keys($thisType->getDeclaredProperties());
209 209
         $otherTypeKeys = array_keys($otherType->getDeclaredProperties());
210
-        $keyCount      =  count($thisTypeKeys);
210
+        $keyCount      = count($thisTypeKeys);
211 211
         for ($i = 0; $i < $keyCount; ++$i) {
212 212
             if (!self::isEquivalentTo(
213 213
                 $thisType->getDeclaredProperties()[$thisTypeKeys[$i]],
Please login to merge, or discard this patch.
src/ModelVisitorConcerns/VisitElements.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     {
35 35
         /** @var EdmModelVisitor $this */
36 36
         switch ($element->getSchemaElementKind()) {
37
-            case SchemaElementKind::Function():
37
+            case SchemaElementKind::Function ():
38 38
                 assert($element instanceof IFunction);
39 39
                 $this->processFunction($element);
40 40
                 break;
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     {
35 35
         /** @var EdmModelVisitor $this */
36 36
         switch ($element->getSchemaElementKind()) {
37
-            case SchemaElementKind::Function():
37
+            case SchemaElementKind::function():
38 38
                 assert($element instanceof IFunction);
39 39
                 $this->processFunction($element);
40 40
                 break;
Please login to merge, or discard this patch.
src/ModelVisitorConcerns/VisitAnnotations.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public function visitAnnotations(iterable $annotations): void
29 29
     {
30 30
         /** @var EdmModelVisitor $this */
31
-        self::visitCollection($annotations, [$this,'visitAnnotation']);
31
+        self::visitCollection($annotations, [$this, 'visitAnnotation']);
32 32
     }
33 33
 
34 34
     /**
Please login to merge, or discard this patch.