@@ -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[] = $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 | /** |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | ); |
| 36 | 36 | }; |
| 37 | 37 | assert( |
| 38 | - $expectedReflection->getNumberOfRequiredParameters() === $actualReflection->getNumberOfRequiredParameters(), |
|
| 38 | + $expectedReflection->getNumberOfRequiredParameters() === $actualReflection->getNumberOfRequiredParameters(), |
|
| 39 | 39 | $messageBuilder('Incorrect Parameter Count') |
| 40 | 40 | ); |
| 41 | 41 | if ($expectedReflection->hasReturnType()) { |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | $parameterString = ''; |
| 86 | 86 | if ($parameter->hasType()) { |
| 87 | 87 | $parameterString .= $parameter->getType()->allowsNull() ? '?' : ''; |
| 88 | - $parameterString .=$parameter->getType()->getName() . ' '; |
|
| 88 | + $parameterString .= $parameter->getType()->getName() . ' '; |
|
| 89 | 89 | } |
| 90 | 90 | $parameterString .= $parameter->isVariadic() ? '...$' : '$'; |
| 91 | 91 | $parameterString .= $parameter->getName(); |
@@ -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 | /** |