@@ -44,7 +44,7 @@ |
||
| 44 | 44 | public function __construct(ManagerRegistry $managerRegistry, RequestStack $requestStack, string $orderParameterName, LoggerInterface $logger = null, array $properties = null) |
| 45 | 45 | { |
| 46 | 46 | if (null !== $properties) { |
| 47 | - $properties = array_map(function ($propertyOptions) { |
|
| 47 | + $properties = array_map(function($propertyOptions) { |
|
| 48 | 48 | // shorthand for default direction |
| 49 | 49 | if (is_string($propertyOptions)) { |
| 50 | 50 | $propertyOptions = [ |
@@ -340,7 +340,7 @@ |
||
| 340 | 340 | } |
| 341 | 341 | |
| 342 | 342 | if (!isset($this->definitions[$definitionKey])) { |
| 343 | - $this->definitions[$definitionKey] = []; // Initialize to prevent infinite loops |
|
| 343 | + $this->definitions[$definitionKey] = []; // Initialize to prevent infinite loops |
|
| 344 | 344 | $this->definitions[$definitionKey] = $this->getDefinitionSchema($resourceClass, $resourceMetadata, $serializerContext); |
| 345 | 345 | } |
| 346 | 346 | |