@@ -216,7 +216,7 @@ |
||
216 | 216 | |
217 | 217 | if (!$this->hasValidValues($values, $this->getDoctrineFieldType($property, $resourceClass))) { |
218 | 218 | $this->logger->notice('Invalid filter ignored', [ |
219 | - 'exception' => new InvalidArgumentException(sprintf('Values for field "%s" are not valid according to the doctrine type.', $field)), |
|
219 | + 'exception' => new InvalidArgumentException(sprintf('Values for field "%s" are not valid according to the doctrine type.', $field)), |
|
220 | 220 | ]); |
221 | 221 | |
222 | 222 | return; |
@@ -352,7 +352,7 @@ |
||
352 | 352 | */ |
353 | 353 | protected function createWrapCase(bool $caseSensitive): \Closure |
354 | 354 | { |
355 | - return function (string $expr) use ($caseSensitive): string { |
|
355 | + return function(string $expr) use ($caseSensitive): string { |
|
356 | 356 | if ($caseSensitive) { |
357 | 357 | return $expr; |
358 | 358 | } |
@@ -59,7 +59,7 @@ |
||
59 | 59 | public function __construct(ManagerRegistry $managerRegistry, $requestStack = null, string $orderParameterName = 'order', LoggerInterface $logger = null, array $properties = null) |
60 | 60 | { |
61 | 61 | if (null !== $properties) { |
62 | - $properties = array_map(function ($propertyOptions) { |
|
62 | + $properties = array_map(function($propertyOptions) { |
|
63 | 63 | // shorthand for default direction |
64 | 64 | if (\is_string($propertyOptions)) { |
65 | 65 | $propertyOptions = [ |
@@ -60,7 +60,7 @@ |
||
60 | 60 | $this->itemDataProvider = $itemDataProvider; |
61 | 61 | $this->allowPlainIdentifiers = $allowPlainIdentifiers; |
62 | 62 | |
63 | - $this->setCircularReferenceHandler(function ($object) { |
|
63 | + $this->setCircularReferenceHandler(function($object) { |
|
64 | 64 | return $this->iriConverter->getIriFromItem($object); |
65 | 65 | }); |
66 | 66 | } |
@@ -66,7 +66,7 @@ |
||
66 | 66 | */ |
67 | 67 | public function getIdentifiersFromItem($item): array |
68 | 68 | { |
69 | - $keys = $this->getKeys($item, function ($item) use (&$identifiers) { |
|
69 | + $keys = $this->getKeys($item, function($item) use (&$identifiers) { |
|
70 | 70 | return $identifiers = $this->decorated->getIdentifiersFromItem($item); |
71 | 71 | }); |
72 | 72 |