@@ -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 | } |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | ) { |
| 48 | 48 | $qualifiedName = $element->FullName(); |
| 49 | 49 | switch ($element->getSchemaElementKind()) { |
| 50 | - case SchemaElementKind::Function(): |
|
| 50 | + case SchemaElementKind::Function (): |
|
| 51 | 51 | assert($element instanceof IFunction); |
| 52 | 52 | self::AddFunction($element, $qualifiedName, $functionGroupDictionary); |
| 53 | 53 | break; |
@@ -47,7 +47,7 @@ |
||
| 47 | 47 | ) { |
| 48 | 48 | $qualifiedName = $element->FullName(); |
| 49 | 49 | switch ($element->getSchemaElementKind()) { |
| 50 | - case SchemaElementKind::Function(): |
|
| 50 | + case SchemaElementKind::function(): |
|
| 51 | 51 | assert($element instanceof IFunction); |
| 52 | 52 | self::AddFunction($element, $qualifiedName, $functionGroupDictionary); |
| 53 | 53 | break; |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | $references[] = $expression->getReferencedParameter(); |
| 18 | 18 | return null; |
| 19 | 19 | } else { |
| 20 | - return [ InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedParameter') ]; |
|
| 20 | + return [InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedParameter')]; |
|
| 21 | 21 | } |
| 22 | 22 | } |
| 23 | 23 | |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | $references[] = $expression->getReferencedEnumMember(); |
| 18 | 18 | return null; |
| 19 | 19 | } else { |
| 20 | - return [ InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedEnumMember') ]; |
|
| 20 | + return [InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedEnumMember')]; |
|
| 21 | 21 | } |
| 22 | 22 | } |
| 23 | 23 | |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | $followup[] = $type->getElementType(); |
| 19 | 19 | return null; |
| 20 | 20 | } else { |
| 21 | - return[ InterfaceValidator::CreatePropertyMustNotBeNullError($type, 'ElementType')]; |
|
| 21 | + return[InterfaceValidator::CreatePropertyMustNotBeNullError($type, 'ElementType')]; |
|
| 22 | 22 | } |
| 23 | 23 | } |
| 24 | 24 | |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | $followup[] = $value->getValue(); |
| 18 | 18 | return null; |
| 19 | 19 | } else { |
| 20 | - return [ InterfaceValidator::CreatePropertyMustNotBeNullError($value, 'Value') ]; |
|
| 20 | + return [InterfaceValidator::CreatePropertyMustNotBeNullError($value, 'Value')]; |
|
| 21 | 21 | } |
| 22 | 22 | } |
| 23 | 23 | |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | |
| 27 | 27 | return null; |
| 28 | 28 | } else { |
| 29 | - return [ InterfaceValidator::CreatePropertyMustNotBeNullError($type, 'Definition')]; |
|
| 29 | + return [InterfaceValidator::CreatePropertyMustNotBeNullError($type, 'Definition')]; |
|
| 30 | 30 | } |
| 31 | 31 | } |
| 32 | 32 | |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | $references[] = $expression->getReferencedFunction(); |
| 25 | 25 | return null; |
| 26 | 26 | } else { |
| 27 | - return [ InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedFunction') ]; |
|
| 27 | + return [InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedFunction')]; |
|
| 28 | 28 | } |
| 29 | 29 | } |
| 30 | 30 | |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | $references[] = $expression->getReferencedEntitySet(); |
| 18 | 18 | return null; |
| 19 | 19 | } else { |
| 20 | - return [ InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedEntitySet') ]; |
|
| 20 | + return [InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'ReferencedEntitySet')]; |
|
| 21 | 21 | } |
| 22 | 22 | } |
| 23 | 23 | |