@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | * @param IEntitySet $entitySet the static entity set of the function import |
27 | 27 | * @return bool true if the entity set expression of the functionImport contains a static reference to an IEntitySet, otherwise false |
28 | 28 | */ |
29 | - public function tryGetStaticEntitySet(IEntitySet &$entitySet = null): bool |
|
29 | + public function tryGetStaticEntitySet(IEntitySet & $entitySet = null): bool |
|
30 | 30 | { |
31 | 31 | /** @var IFunctionImport $this */ |
32 | 32 | $entitySetReference = $this->getEntitySet(); |
@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | */ |
48 | 48 | public function tryGetRelativeEntitySetPath( |
49 | 49 | IModel $model, |
50 | - IFunctionParameter &$parameter = null, |
|
50 | + IFunctionParameter & $parameter = null, |
|
51 | 51 | array &$path = null |
52 | 52 | ): bool { |
53 | 53 | /** |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | if (count($set1) != count($set2)) { |
104 | 104 | return false; |
105 | 105 | } |
106 | - for ($i = count($set1) -1; $i > -1; --$i) { |
|
106 | + for ($i = count($set1) - 1; $i > -1; --$i) { |
|
107 | 107 | if ($set1[$i] !== $set2[$i]) { |
108 | 108 | return false; |
109 | 109 | } |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | IValue $value, |
116 | 116 | ?string $annotationNamespace, |
117 | 117 | ?string $annotationName, |
118 | - ?EdmError &$error |
|
118 | + ?EdmError & $error |
|
119 | 119 | ): bool { |
120 | 120 | if (!($value instanceof IStringValue)) { |
121 | 121 | $error = new EdmError( |