|
@@ -9,7 +9,7 @@ discard block |
|
|
block discarded – undo |
|
9
|
9
|
* file that was distributed with this source code. |
|
10
|
10
|
*/ |
|
11
|
11
|
|
|
12
|
|
-declare(strict_types=1); |
|
|
12
|
+declare(strict_types = 1); |
|
13
|
13
|
|
|
14
|
14
|
namespace ApiPlatform\Core\Bridge\Doctrine\Orm\Filter; |
|
15
|
15
|
|
|
@@ -59,7 +59,7 @@ discard block |
|
|
block discarded – undo |
|
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 = [ |
Please login to merge, or discard this patch.