@@ -97,8 +97,7 @@ |
||
| 97 | 97 | foreach ($filters as $key => $value) { |
| 98 | 98 | $current = $propertyAccessor->getValue($entity, $key); |
| 99 | 99 | $res = $res && (is_array($value) ? |
| 100 | - in_array($current, $value) : |
|
| 101 | - $current == $value |
|
| 100 | + in_array($current, $value) : $current == $value |
|
| 102 | 101 | ); |
| 103 | 102 | } |
| 104 | 103 | |
@@ -2,11 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Majora\Framework\Domain\Action\Dal; |
| 4 | 4 | |
| 5 | -use Majora\Framework\Api\Client\RestApiClient; |
|
| 6 | 5 | use Majora\Framework\Validation\ValidationException; |
| 7 | 6 | use Symfony\Component\EventDispatcher\Event; |
| 8 | 7 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
| 9 | -use Symfony\Component\Serializer\SerializerInterface; |
|
| 10 | 8 | use Symfony\Component\Validator\Validator\ValidatorInterface; |
| 11 | 9 | |
| 12 | 10 | /** |