@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | |
| 192 | 192 | public function propertyDataTypeValid(): array |
| 193 | 193 | { |
| 194 | - return array_map(function ($dataType) { |
|
| 194 | + return array_map(function($dataType) { |
|
| 195 | 195 | return [$dataType]; |
| 196 | 196 | }, PropertyDataTypeValidator::ALLOWED_DATATYPES); |
| 197 | 197 | } |
@@ -211,7 +211,7 @@ discard block |
||
| 211 | 211 | |
| 212 | 212 | public function propertyTypeValid(): array |
| 213 | 213 | { |
| 214 | - return array_map(function ($dataType) { |
|
| 214 | + return array_map(function($dataType) { |
|
| 215 | 215 | return [$dataType]; |
| 216 | 216 | }, PropertyTypeValidator::ALLOWED_TYPES); |
| 217 | 217 | } |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | if (!empty($notAllowedProperties)) { |
| 66 | - throw new AttributeValidationException('Properties unknow: ' . implode(', ', $notAllowedProperties)); |
|
| 66 | + throw new AttributeValidationException('Properties unknow: '.implode(', ', $notAllowedProperties)); |
|
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | foreach ($this->requiredProperties as $property) { |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | |
| 75 | 75 | if (!empty($requiredPropertiesNotPresent)) { |
| 76 | 76 | throw new AttributeValidationException( |
| 77 | - 'Required properties are missing: ' . implode(', ', $requiredPropertiesNotPresent) |
|
| 77 | + 'Required properties are missing: '.implode(', ', $requiredPropertiesNotPresent) |
|
| 78 | 78 | ); |
| 79 | 79 | } |
| 80 | 80 | |