@@ -24,7 +24,7 @@ |
||
24 | 24 | $regexBase = '/(is)(%s)/m'; |
25 | 25 | $regexFull = sprintf($regexBase, implode('$|', array_keys($array))); |
26 | 26 | preg_match($regexFull, $name, $match); |
27 | - if (count($match)>0 && $match[0] === $name) { |
|
27 | + if (count($match) > 0 && $match[0] === $name) { |
|
28 | 28 | return $this->{$match[1] . 'Flag'}($array[$match[2]], $arguments[0] ?? null); |
29 | 29 | } |
30 | 30 | throw new BadMethodCallException(sprintf('Enum %s not found on %s', $name, get_class($this))); |
@@ -17,5 +17,5 @@ |
||
17 | 17 | /** |
18 | 18 | * @return bool gets a value indicating whether the value of this boolean value is true or false |
19 | 19 | */ |
20 | - public function getValue(): bool ; |
|
20 | + public function getValue(): bool; |
|
21 | 21 | } |
@@ -19,5 +19,5 @@ |
||
19 | 19 | /** |
20 | 20 | * @return DateTime gets the definition of this datetime value |
21 | 21 | */ |
22 | - public function getValue(): DateTime ; |
|
22 | + public function getValue(): DateTime; |
|
23 | 23 | } |
@@ -17,5 +17,5 @@ |
||
17 | 17 | /** |
18 | 18 | * @return float gets the definition of this floating value |
19 | 19 | */ |
20 | - public function getValue(): float ; |
|
20 | + public function getValue(): float; |
|
21 | 21 | } |
@@ -17,5 +17,5 @@ |
||
17 | 17 | /** |
18 | 18 | * @return float gets the definition of this decimal value |
19 | 19 | */ |
20 | - public function getValue(): float ; |
|
20 | + public function getValue(): float; |
|
21 | 21 | } |
@@ -96,7 +96,7 @@ |
||
96 | 96 | if (count($set1) != count($set2)) { |
97 | 97 | return false; |
98 | 98 | } |
99 | - for ($i = count($set1) -1; $i > -1; --$i) { |
|
99 | + for ($i = count($set1) - 1; $i > -1; --$i) { |
|
100 | 100 | if ($set1[$i] !== $set2[$i]) { |
101 | 101 | return false; |
102 | 102 | } |
@@ -11,5 +11,5 @@ |
||
11 | 11 | |
12 | 12 | public $End1Annotations; |
13 | 13 | |
14 | - public $End2Annotations ; |
|
14 | + public $End2Annotations; |
|
15 | 15 | } |
@@ -12,11 +12,11 @@ discard block |
||
12 | 12 | /** |
13 | 13 | * @var IDirectValueAnnotation |
14 | 14 | */ |
15 | - public $Annotations ; |
|
15 | + public $Annotations; |
|
16 | 16 | /** |
17 | 17 | * @var IDirectValueAnnotation |
18 | 18 | */ |
19 | - public $End1Annotations ; |
|
19 | + public $End1Annotations; |
|
20 | 20 | /** |
21 | 21 | * @var IDirectValueAnnotation |
22 | 22 | */ |
@@ -24,5 +24,5 @@ discard block |
||
24 | 24 | /** |
25 | 25 | * @var IDirectValueAnnotation |
26 | 26 | */ |
27 | - public $ConstraintAnnotations ; |
|
27 | + public $ConstraintAnnotations; |
|
28 | 28 | } |
@@ -116,7 +116,7 @@ |
||
116 | 116 | protected function endElement(IEdmElement $element, string $method): void |
117 | 117 | { |
118 | 118 | $method = $this->sanitizeMethodName($method); |
119 | - $elementClone = $this->cloneElementContainer->offsetGet($element); |
|
119 | + $elementClone = $this->cloneElementContainer->offsetGet($element); |
|
120 | 120 | foreach ($this->visitors as $visitor) { |
121 | 121 | $visitor->{'end' . $method}($elementClone); |
122 | 122 | } |