@@ -33,7 +33,7 @@ |
||
| 33 | 33 | ); |
| 34 | 34 | break; |
| 35 | 35 | |
| 36 | - case SchemaElementKind::Function(): |
|
| 36 | + case SchemaElementKind::function(): |
|
| 37 | 37 | InterfaceValidator::CollectErrors( |
| 38 | 38 | InterfaceValidator::CheckForInterfaceKindValueMismatchError( |
| 39 | 39 | $item, |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | $this->lookup[ExpressionKind::DecimalConstant()->getValue()] = IDecimalConstantExpression::class; |
| 52 | 52 | $this->lookup[ExpressionKind::FloatingConstant()->getValue()] = IFloatingConstantExpression::class; |
| 53 | 53 | $this->lookup[ExpressionKind::GuidConstant()->getValue()] = IGuidConstantExpression::class; |
| 54 | - $this->lookup[ExpressionKind::Null()->getValue()] = INullExpression::class; |
|
| 54 | + $this->lookup[ExpressionKind::null()->getValue()] = INullExpression::class; |
|
| 55 | 55 | $this->lookup[ExpressionKind::Record()->getValue()] = IRecordExpression::class; |
| 56 | 56 | $this->lookup[ExpressionKind::Collection()->getValue()] = ICollectionExpression::class; |
| 57 | 57 | $this->lookup[ExpressionKind::Path()->getValue()] = IPathExpression::class; |
@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | $this->lookup[ExpressionKind::ValueTermReference()->getValue()] = IValueTermReferenceExpression::class; |
| 62 | 62 | $this->lookup[ExpressionKind::EntitySetReference()->getValue()] = IEntitySetReferenceExpression::class; |
| 63 | 63 | $this->lookup[ExpressionKind::EnumMemberReference()->getValue()] = IEnumMemberReferenceExpression::class; |
| 64 | - $this->lookup[ExpressionKind::If()->getValue()] = IIfExpression::class; |
|
| 64 | + $this->lookup[ExpressionKind::if()->getValue()] = IIfExpression::class; |
|
| 65 | 65 | $this->lookup[ExpressionKind::AssertType()->getValue()] = IAssertTypeExpression::class; |
| 66 | 66 | $this->lookup[ExpressionKind::IsType()->getValue()] = IIsTypeExpression::class; |
| 67 | 67 | $this->lookup[ExpressionKind::FunctionApplication()->getValue()] = IApplyExpression::class; |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | { |
| 35 | 35 | /** @var EdmModelVisitor $this */ |
| 36 | 36 | switch ($element->getSchemaElementKind()) { |
| 37 | - case SchemaElementKind::Function(): |
|
| 37 | + case SchemaElementKind::function(): |
|
| 38 | 38 | assert($element instanceof IFunction); |
| 39 | 39 | $this->processFunction($element); |
| 40 | 40 | break; |