Completed
Pull Request — master (#542)
by Jason
03:05
created
JMS/Serializer/EventDispatcher/Subscriber/SymfonyValidatorSubscriber.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,8 +28,8 @@
 block discarded – undo
28 28
 
29 29
     public function __construct($validator)
30 30
     {
31
-        if (!$validator instanceof \Symfony\Component\Validator\Validator\ValidatorInterface // 3.x
32
-            && !$validator instanceof \Symfony\Component\Validator\ValidatorInterface // 2.x
31
+        if ( ! $validator instanceof \Symfony\Component\Validator\Validator\ValidatorInterface // 3.x
32
+            && ! $validator instanceof \Symfony\Component\Validator\ValidatorInterface // 2.x
33 33
         ) {
34 34
             throw new InvalidArgumentException("Expected object of type ValidatorInterface.");
35 35
         }
Please login to merge, or discard this patch.