Passed
Pull Request — master (#40)
by Alex
03:15
created
src/Library/EdmBinaryTypeReference.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     public function __construct(IPrimitiveType $definition, bool $isNullable, bool $isUnbounded = false, ?int $maxLength = null, ?bool $isFixedLength = null)
40 40
     {
41 41
         parent::__construct($definition, $isNullable);
42
-        $this->isUnbounded   =$isUnbounded;
42
+        $this->isUnbounded   = $isUnbounded;
43 43
         $this->maxLength     = $maxLength;
44 44
         $this->isFixedLength = $isFixedLength;
45 45
     }
Please login to merge, or discard this patch.
src/Library/EdmFunctionImport.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     private $isBindable;
38 38
 
39
-    public function __construct(IEntityContainer $container, string $name, ?ITypeReference $returnType, IExpression $entitySet = null, bool $isSideEffecting = true, bool $isComposable = false, bool $isBindable= false)
39
+    public function __construct(IEntityContainer $container, string $name, ?ITypeReference $returnType, IExpression $entitySet = null, bool $isSideEffecting = true, bool $isComposable = false, bool $isBindable = false)
40 40
     {
41 41
         parent::__construct($name, $returnType);
42 42
         $this->container       = $container;
Please login to merge, or discard this patch.
src/Library/EdmModel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
     /**
34 34
      * @var SplObjectStorage|array<IStructuredType, IStructuredType[]>
35 35
      */
36
-    private $derivedTypeMappings ;
36
+    private $derivedTypeMappings;
37 37
     public function __construct(array $referencedModels = [], EdmDirectValueAnnotationsManager $annotationsManager = null)
38 38
     {
39 39
         $annotationsManager = $annotationsManager ?? new EdmDirectValueAnnotationsManager();
Please login to merge, or discard this patch.
src/Library/Internal/Bad/BadLabeledExpression.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     public function getExpression(): IExpression
44 44
     {
45
-        $expression = $this->expressionCache->getValue($this, [$this,'ComputeExpression']);
45
+        $expression = $this->expressionCache->getValue($this, [$this, 'ComputeExpression']);
46 46
         assert($expression instanceof IExpression);
47 47
         return $expression;
48 48
     }
Please login to merge, or discard this patch.
src/Library/Internal/Bad/BadCollectionType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     public function __construct(array $errors)
25 25
     {
26 26
         parent::__construct($errors);
27
-        $this->elementType =  new BadTypeReference(new BadType($errors), true);
27
+        $this->elementType = new BadTypeReference(new BadType($errors), true);
28 28
     }
29 29
     public function getTypeKind(): TypeKind
30 30
     {
Please login to merge, or discard this patch.
src/Library/Internal/Bad/BadProperty.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
      */
74 74
     public function getType(): ?ITypeReference
75 75
     {
76
-        return $this->type->getValue($this, [$this,'ComputeType']);
76
+        return $this->type->getValue($this, [$this, 'ComputeType']);
77 77
     }
78 78
 
79 79
     /**
Please login to merge, or discard this patch.
src/Library/Internal/Cyclic/CyclicComplexType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,6 +25,6 @@
 block discarded – undo
25 25
      */
26 26
     public function __construct(?string $qualifiedName, ILocation $location)
27 27
     {
28
-        parent::__construct($qualifiedName, [new EdmError($location, EdmErrorCode::BadCyclicComplex(), StringConst::Bad_CyclicComplex($qualifiedName)) ]);
28
+        parent::__construct($qualifiedName, [new EdmError($location, EdmErrorCode::BadCyclicComplex(), StringConst::Bad_CyclicComplex($qualifiedName))]);
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
src/Library/Internal/Cyclic/CyclicEntityType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,6 +20,6 @@
 block discarded – undo
20 20
 {
21 21
     public function __construct(?string $qualifiedName, ILocation $location)
22 22
     {
23
-        parent::__construct($qualifiedName, [new EdmError($location, EdmErrorCode::BadCyclicEntity(), StringConst::Bad_CyclicEntity($qualifiedName)) ]);
23
+        parent::__construct($qualifiedName, [new EdmError($location, EdmErrorCode::BadCyclicEntity(), StringConst::Bad_CyclicEntity($qualifiedName))]);
24 24
     }
25 25
 }
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
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      */
75 75
     public function getSchemaElementKind(): SchemaElementKind
76 76
     {
77
-        return SchemaElementKind::Function();
77
+        return SchemaElementKind::Function ();
78 78
     }
79 79
 
80 80
     /**
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      */
75 75
     public function getSchemaElementKind(): SchemaElementKind
76 76
     {
77
-        return SchemaElementKind::Function();
77
+        return SchemaElementKind::function();
78 78
     }
79 79
 
80 80
     /**
Please login to merge, or discard this patch.