Completed
Push — master ( 66c45a...b9f89d )
by Alex
22s queued 18s
created
src/Library/EdmStructuralProperty.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
      * @param string|null          $defaultValueString the default value of this property
37 37
      * @param ConcurrencyMode|null $concurrencyMode    the concurrency mode of this property
38 38
      */
39
-    public function __construct(IStructuredType $declaringType, string $name, ITypeReference $type, string $defaultValueString = null, ConcurrencyMode $concurrencyMode= null)
39
+    public function __construct(IStructuredType $declaringType, string $name, ITypeReference $type, string $defaultValueString = null, ConcurrencyMode $concurrencyMode = null)
40 40
     {
41 41
         parent::__construct($declaringType, $name, $type);
42 42
         $this->defaultValueString = $defaultValueString;
Please login to merge, or discard this patch.
src/Library/EdmStringTypeReference.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
         if ($isUnbounded && $maxLength !== null) {
53 53
             throw new InvalidOperationException(StringConst::EdmModel_Validator_Semantic_IsUnboundedCannotBeTrueWhileMaxLengthIsNotNull());
54 54
         }
55
-        $this->isUnbounded   =$isUnbounded;
55
+        $this->isUnbounded   = $isUnbounded;
56 56
         $this->maxLength     = $maxLength;
57 57
         $this->isFixedLength = $isFixedLength;
58 58
         $this->isUnicode     = $isUnicode;
Please login to merge, or discard this patch.
src/Library/Annotations/EdmDirectValueAnnotationsManager.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -293,8 +293,7 @@
 block discarded – undo
293 293
         }
294 294
 
295 295
         $newAnnotation = $value != null ?
296
-            new EdmDirectValueAnnotation($namespaceName, $localName, $value) :
297
-            new EdmDirectValueAnnotation($namespaceName, $localName);
296
+            new EdmDirectValueAnnotation($namespaceName, $localName, $value) : new EdmDirectValueAnnotation($namespaceName, $localName);
298 297
 
299 298
         if ($transientAnnotations == null) {
300 299
             $transientAnnotations = $newAnnotation;
Please login to merge, or discard this patch.
src/Library/EdmFunction.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
      */
49 49
     public function getSchemaElementKind(): SchemaElementKind
50 50
     {
51
-        return SchemaElementKind::Function();
51
+        return SchemaElementKind::Function ();
52 52
     }
53 53
 
54 54
     /**
Please login to merge, or discard this patch.
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/EdmValueTerm.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      */
33 33
     public function __construct(string $namespaceName, string $name, $type)
34 34
     {
35
-        $type = ($type instanceof PrimitiveTypeKind) ? EdmCoreModel::getInstance()->GetPrimitive($type, true): $type;
35
+        $type = ($type instanceof PrimitiveTypeKind) ? EdmCoreModel::getInstance()->GetPrimitive($type, true) : $type;
36 36
         assert($type instanceof ITypeReference);
37 37
         parent::__construct($name);
38 38
         $this->type          = $type;
Please login to merge, or discard this patch.
src/Library/Values/EdmEnumValue.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($value, ?IEnumTypeReference $type = null)
25 25
     {
26 26
         parent::__construct($type);
27
-        $value = $value instanceof IEnumMember ? $value->getValue(): $value;
27
+        $value = $value instanceof IEnumMember ? $value->getValue() : $value;
28 28
         assert($value instanceof IPrimitiveValue);
29 29
         $this->value = $value;
30 30
     }
Please login to merge, or discard this patch.
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.