@@ -170,8 +170,8 @@ |
||
| 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 | } |
@@ -213,7 +213,7 @@ |
||
| 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; |