@@ -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 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | $followup[] = $expression->getExpressionKind(); |
18 | 18 | return null; |
19 | 19 | } else { |
20 | - return [InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'Expression') ]; |
|
20 | + return [InterfaceValidator::CreatePropertyMustNotBeNullError($expression, 'Expression')]; |
|
21 | 21 | } |
22 | 22 | } |
23 | 23 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | $followup[] = $annotation->getValue(); |
18 | 18 | return null; |
19 | 19 | } else { |
20 | - return [InterfaceValidator::CreatePropertyMustNotBeNullError($annotation, 'Value') ]; |
|
20 | + return [InterfaceValidator::CreatePropertyMustNotBeNullError($annotation, 'Value')]; |
|
21 | 21 | } |
22 | 22 | } |
23 | 23 |
@@ -17,7 +17,7 @@ |
||
17 | 17 | $references[] = $type->getEntityType(); |
18 | 18 | return null; |
19 | 19 | } else { |
20 | - return [ InterfaceValidator::CreatePropertyMustNotBeNullError($type, 'EntityType') ]; |
|
20 | + return [InterfaceValidator::CreatePropertyMustNotBeNullError($type, 'EntityType')]; |
|
21 | 21 | } |
22 | 22 | } |
23 | 23 |
@@ -36,8 +36,7 @@ |
||
36 | 36 | ) ?? false |
37 | 37 | )) { |
38 | 38 | $error = null; |
39 | - if (! |
|
40 | - ValidationHelper::ValidateValueCanBeWrittenAsXmlElementAnnotation( |
|
39 | + if (!ValidationHelper::ValidateValueCanBeWrittenAsXmlElementAnnotation( |
|
41 | 40 | $stringValue, |
42 | 41 | $annotation->getNamespaceUri(), |
43 | 42 | $annotation->getName(), |
@@ -12,6 +12,6 @@ |
||
12 | 12 | { |
13 | 13 | public function getValidatedType(): string |
14 | 14 | { |
15 | - return IPrimitiveValue::class ; |
|
15 | + return IPrimitiveValue::class; |
|
16 | 16 | } |
17 | 17 | } |
@@ -48,7 +48,7 @@ |
||
48 | 48 | */ |
49 | 49 | public function getSchemaElementKind(): SchemaElementKind |
50 | 50 | { |
51 | - return SchemaElementKind::Function(); |
|
51 | + return SchemaElementKind::Function (); |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |
@@ -48,7 +48,7 @@ |
||
48 | 48 | */ |
49 | 49 | public function getSchemaElementKind(): SchemaElementKind |
50 | 50 | { |
51 | - return SchemaElementKind::Function(); |
|
51 | + return SchemaElementKind::function(); |
|
52 | 52 | } |
53 | 53 | |
54 | 54 | /** |