@@ -97,8 +97,7 @@ |
||
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 | /** |
@@ -98,8 +98,7 @@ |
||
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 | /** |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | /** |
85 | 85 | * @var PropertyRef $propertyRef |
86 | 86 | */ |
87 | - private $propertyRef ; |
|
87 | + private $propertyRef; |
|
88 | 88 | |
89 | 89 | public function __construct(string $role, PropertyRef $propertyRef) |
90 | 90 | { |
@@ -150,7 +150,7 @@ discard block |
||
150 | 150 | */ |
151 | 151 | public function getDomName(): string |
152 | 152 | { |
153 | - return $this->isPrincipal ? 'Principal' :'Dependent'; |
|
153 | + return $this->isPrincipal ? 'Principal' : 'Dependent'; |
|
154 | 154 | } |
155 | 155 | |
156 | 156 | /** |
@@ -160,7 +160,7 @@ discard block |
||
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 |
||
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, |
@@ -187,7 +187,7 @@ |
||
187 | 187 | public function getChildElements(): array |
188 | 188 | { |
189 | 189 | if (!( |
190 | - // $this->expression instanceof Expressions\Dynamic\TPathExpression || |
|
190 | + // $this->expression instanceof Expressions\Dynamic\TPathExpression || |
|
191 | 191 | $this->expression instanceof Expressions\Constant\StringConstant || |
192 | 192 | $this->expression instanceof Expressions\Constant\IntConstant || |
193 | 193 | $this->expression instanceof Expressions\Constant\FloatConstant || |
@@ -133,7 +133,7 @@ |
||
133 | 133 | public function getChildElements(): array |
134 | 134 | { |
135 | 135 | if (!( |
136 | - // $this->expression instanceof Expressions\Dynamic\TPathExpression || |
|
136 | + // $this->expression instanceof Expressions\Dynamic\TPathExpression || |
|
137 | 137 | $this->expression instanceof Expressions\Constant\StringConstant || |
138 | 138 | $this->expression instanceof Expressions\Constant\IntConstant || |
139 | 139 | $this->expression instanceof Expressions\Constant\FloatConstant || |
@@ -29,10 +29,10 @@ |
||
29 | 29 | /** |
30 | 30 | * @return array|AttributeContainer[] |
31 | 31 | */ |
32 | - abstract public function getAttributes(): array ; |
|
32 | + abstract public function getAttributes(): array; |
|
33 | 33 | |
34 | 34 | /** |
35 | 35 | * @return array|DomBase[] |
36 | 36 | */ |
37 | - abstract public function getChildElements(): array ; |
|
37 | + abstract public function getChildElements(): array; |
|
38 | 38 | } |
@@ -9,10 +9,10 @@ |
||
9 | 9 | |
10 | 10 | class AccessorType extends Enum |
11 | 11 | { |
12 | - protected const Public = 'Public'; |
|
12 | + protected const public = 'Public'; |
|
13 | 13 | protected const Internal = 'Internal'; |
14 | - protected const Protected = 'Protected'; |
|
15 | - protected const Private = 'Private'; |
|
14 | + protected const protected = 'Protected'; |
|
15 | + protected const private = 'Private'; |
|
16 | 16 | |
17 | 17 | public static $cgNamespace = 'http://schemas.microsoft.com/ado/2006/04/codegeneration'; |
18 | 18 | } |
@@ -11,7 +11,7 @@ |
||
11 | 11 | { |
12 | 12 | public function getAttributeValue(): ?string; |
13 | 13 | |
14 | - public function getAttributeNullCheck(): bool ; |
|
14 | + public function getAttributeNullCheck(): bool; |
|
15 | 15 | |
16 | 16 | public function getAttributeForVersion(): OdataVersions; |
17 | 17 |