Passed
Pull Request — master (#157)
by Alex
02:52
created
src/Library/EdmEntityType.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
      * @param bool        $isOpen             denotes if the type is open
46 46
      * @param IEntityType $baseStructuredType the base type of this entity type
47 47
      */
48
-    public function __construct(string $namespaceName, string $name, bool $isAbstract =false, bool $isOpen= true, IEntityType $baseStructuredType = null)
48
+    public function __construct(string $namespaceName, string $name, bool $isAbstract = false, bool $isOpen = true, IEntityType $baseStructuredType = null)
49 49
     {
50 50
         parent::__construct($isAbstract, $isOpen, $baseStructuredType);
51 51
         $this->namespaceName = $namespaceName;
Please login to merge, or discard this patch.
src/Library/EdmProperty.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     /**
30 30
      * @var array<IDependent>
31 31
      */
32
-    protected $dependents =[];
32
+    protected $dependents = [];
33 33
     /**
34 34
      * @var ITypeReference
35 35
      */
Please login to merge, or discard this patch.
src/Library/EdmStructuralProperty.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      * @param string|null          $defaultValueString the default value of this property
39 39
      * @param ConcurrencyMode|null $concurrencyMode    the concurrency mode of this property
40 40
      */
41
-    public function __construct(IStructuredType $declaringType, string $name, ITypeReference $type, string $defaultValueString = null, ConcurrencyMode $concurrencyMode= null)
41
+    public function __construct(IStructuredType $declaringType, string $name, ITypeReference $type, string $defaultValueString = null, ConcurrencyMode $concurrencyMode = null)
42 42
     {
43 43
         parent::__construct($declaringType, $name, $type);
44 44
         $this->defaultValueString = $defaultValueString;
Please login to merge, or discard this patch.
src/Library/Internal/Ambiguous/AmbiguousBinding.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     public function addBinding(INamedElement $binding): void
49 49
     {
50 50
         if (!in_array($binding, $this->bindings)) {
51
-            $this->bindings[] =  $binding;
51
+            $this->bindings[] = $binding;
52 52
         }
53 53
     }
54 54
 
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/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/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/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.