|
@@ -49,7 +49,7 @@ |
|
|
block discarded – undo |
|
49
|
49
|
|
|
50
|
50
|
public function __construct(?object $translator = null, string $translationDomain = 'validators') |
|
51
|
51
|
{ |
|
52
|
|
- if (null!== $translator && (!$translator instanceof TranslatorInterface && !$translator instanceof TranslatorContract)) { |
|
|
52
|
+ if (null !== $translator && ( ! $translator instanceof TranslatorInterface && ! $translator instanceof TranslatorContract)) { |
|
53
|
53
|
throw new \InvalidArgumentException(sprintf( |
|
54
|
54
|
'The first argument passed to %s must be instance of %s or %s, %s given', |
|
55
|
55
|
self::class, |
Please login to merge, or discard this patch.