Passed
Branch master (c42fd6)
by GRASSIOT
06:44
created
src/Bridge/Doctrine/Orm/Filter/SearchFilter.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -352,7 +352,7 @@
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
src/Bridge/Doctrine/Orm/Filter/OrderFilter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 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.
src/Serializer/AbstractItemNormalizer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Api/CachedIdentifiersExtractor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.