Completed
Pull Request — master (#24)
by Quentin
03:30
created
src/Majora/Framework/Model/EntityCollection.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -97,8 +97,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Majora/Framework/Domain/Action/Dal/DalActionTrait.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -2,11 +2,9 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.