Completed
Pull Request — 2.1 (#1480)
by Antoine
03:18
created
src/Bridge/Doctrine/Orm/Filter/DateFilter.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -170,8 +170,8 @@
 block discarded – undo
170 170
         } catch (\Exception $e) {
171 171
             // Silently ignore this filter if it can not be transformed to a \DateTime
172 172
             $this->logger->notice('Invalid filter ignored', [
173
-              'exception' => new InvalidArgumentException(sprintf('The field "%s" has a wrong date format. Use one accepted by the \DateTime constructor', $field)),
174
-          ]);
173
+                'exception' => new InvalidArgumentException(sprintf('The field "%s" has a wrong date format. Use one accepted by the \DateTime constructor', $field)),
174
+            ]);
175 175
 
176 176
             return;
177 177
         }
Please login to merge, or discard this patch.
src/Bridge/Doctrine/Orm/Filter/SearchFilter.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -213,7 +213,7 @@
 block discarded – undo
213 213
 
214 214
             if (!$this->hasValidValues($values, $this->getDoctrineFieldType($property, $resourceClass))) {
215 215
                 $this->logger->notice('Invalid filter ignored', [
216
-                     'exception' => new InvalidArgumentException(sprintf('Values for field "%s" are not valid according to the doctrine type.', $field)),
216
+                        'exception' => new InvalidArgumentException(sprintf('Values for field "%s" are not valid according to the doctrine type.', $field)),
217 217
                 ]);
218 218
 
219 219
                 return;
Please login to merge, or discard this patch.