Passed
Pull Request — master (#154)
by Alex
04:53
created
src/Writer/Namespaces.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      * In this specification the namespace prefix Edm is used to represent the Entity Data Model namespace, however
47 47
      * the prefix name is not prescriptive.
48 48
      */
49
-    private const V1EdmNamespace= 'http://schemas.microsoft.com/ado/2006/04/edm';
49
+    private const V1EdmNamespace = 'http://schemas.microsoft.com/ado/2006/04/edm';
50 50
     private const V2EdmNamespace = 'http://schemas.microsoft.com/ado/2008/09/edm';
51 51
     private const V3EdmNamespace = 'http://schemas.microsoft.com/ado/2009/11/edm';
52 52
     /**
Please login to merge, or discard this patch.
src/MetadataV3/Edm/ReferentialConstraintRole.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     /**
83 83
      * @var PropertyRef $propertyRef
84 84
      */
85
-    private $propertyRef ;
85
+    private $propertyRef;
86 86
 
87 87
     public function __construct(string $role, PropertyRef $propertyRef)
88 88
     {
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
      */
149 149
     public function getDomName(): string
150 150
     {
151
-        return $this->isPrincipal ? 'Principal' :'Dependent';
151
+        return $this->isPrincipal ? 'Principal' : 'Dependent';
152 152
     }
153 153
 
154 154
     /**
Please login to merge, or discard this patch.
src/MetadataV3/Edm/OtherTypeConstructs/CollectionType.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,8 +97,7 @@
 block discarded – undo
97 97
             new AttributeContainer('Type', strval($containerFor))
98 98
         ];
99 99
         return $containerFor instanceof IScalarType ?
100
-            array_merge($this->getAttributesHasFacets(), $baseAttribute) :
101
-            $baseAttribute;
100
+            array_merge($this->getAttributesHasFacets(), $baseAttribute) : $baseAttribute;
102 101
     }
103 102
 
104 103
     /**
Please login to merge, or discard this patch.
src/MetadataV3/Edm/OtherTypeConstructs/TypeRef.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -98,8 +98,7 @@
 block discarded – undo
98 98
             new AttributeContainer('Type', $this->getType()->getName())
99 99
         ];
100 100
         return $this->getType() instanceof IScalarType ?
101
-            array_merge($this->getAttributesHasFacets(), $baseAttribute) :
102
-            $baseAttribute;
101
+            array_merge($this->getAttributesHasFacets(), $baseAttribute) : $baseAttribute;
103 102
     }
104 103
 
105 104
     /**
Please login to merge, or discard this patch.
src/MetadataV3/Edm/Entity.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
     /**
161 161
      * @var PropertyRef[]|KeyElement $key
162 162
      */
163
-    private $key ;
163
+    private $key;
164 164
 
165 165
     /**
166 166
      * @var PropertyHolder|Property[] $property EntityTypeProperty child elements are uniquely named within the
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
     /**
173 173
      * @var NavigationPropertyHolder|NavigationProperty[] $navigationProperty
174 174
      */
175
-    private $navigationProperty ;
175
+    private $navigationProperty;
176 176
 
177 177
     public function __construct(
178 178
         string $name,
Please login to merge, or discard this patch.