File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed
src/Symfony/Component/Validator/Constraints Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ public function __construct($options = null)
101
101
}
102
102
103
103
if (null !== $ this ->normalizer && !\is_callable ($ options ['normalizer ' ])) {
104
- throw new \InvalidArgumentException (sprintf ('The "normalizer" option must be a valid callable ("%s" given). ' , is_object ($ this ->normalizer ) ? get_class ($ this ->normalizer ) : gettype ($ this ->normalizer )));
104
+ throw new \InvalidArgumentException (sprintf ('The "normalizer" option must be a valid callable ("%s" given). ' , \ is_object ($ this ->normalizer ) ? \ get_class ($ this ->normalizer ) : \ gettype ($ this ->normalizer )));
105
105
}
106
106
}
107
107
}
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ public function __construct($options = null)
86
86
}
87
87
88
88
if (null !== $ this ->normalizer && !\is_callable ($ options ['normalizer ' ])) {
89
- throw new \InvalidArgumentException (sprintf ('The "normalizer" option must be a valid callable ("%s" given). ' , is_object ($ this ->normalizer ) ? get_class ($ this ->normalizer ) : gettype ($ this ->normalizer )));
89
+ throw new \InvalidArgumentException (sprintf ('The "normalizer" option must be a valid callable ("%s" given). ' , \ is_object ($ this ->normalizer ) ? \ get_class ($ this ->normalizer ) : \ gettype ($ this ->normalizer )));
90
90
}
91
91
}
92
92
}
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public function __construct($options = null)
57
57
}
58
58
59
59
if (null !== $ this ->normalizer && !\is_callable ($ options ['normalizer ' ])) {
60
- throw new \InvalidArgumentException (sprintf ('The "normalizer" option must be a valid callable ("%s" given). ' , is_object ($ this ->normalizer ) ? get_class ($ this ->normalizer ) : gettype ($ this ->normalizer )));
60
+ throw new \InvalidArgumentException (sprintf ('The "normalizer" option must be a valid callable ("%s" given). ' , \ is_object ($ this ->normalizer ) ? \ get_class ($ this ->normalizer ) : \ gettype ($ this ->normalizer )));
61
61
}
62
62
}
63
63
}
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public function __construct($options = null)
37
37
parent ::__construct ($ options );
38
38
39
39
if (null !== $ this ->normalizer && !\is_callable ($ options ['normalizer ' ])) {
40
- throw new \InvalidArgumentException (sprintf ('The "normalizer" option must be a valid callable ("%s" given). ' , is_object ($ this ->normalizer ) ? get_class ($ this ->normalizer ) : gettype ($ this ->normalizer )));
40
+ throw new \InvalidArgumentException (sprintf ('The "normalizer" option must be a valid callable ("%s" given). ' , \ is_object ($ this ->normalizer ) ? \ get_class ($ this ->normalizer ) : \ gettype ($ this ->normalizer )));
41
41
}
42
42
}
43
43
}
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public function __construct($options = null)
38
38
parent ::__construct ($ options );
39
39
40
40
if (null !== $ this ->normalizer && !\is_callable ($ options ['normalizer ' ])) {
41
- throw new \InvalidArgumentException (sprintf ('The "normalizer" option must be a valid callable ("%s" given). ' , is_object ($ this ->normalizer ) ? get_class ($ this ->normalizer ) : gettype ($ this ->normalizer )));
41
+ throw new \InvalidArgumentException (sprintf ('The "normalizer" option must be a valid callable ("%s" given). ' , \ is_object ($ this ->normalizer ) ? \ get_class ($ this ->normalizer ) : \ gettype ($ this ->normalizer )));
42
42
}
43
43
}
44
44
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ public function __construct($options = null)
121
121
parent ::__construct ($ options );
122
122
123
123
if (null !== $ this ->normalizer && !\is_callable ($ options ['normalizer ' ])) {
124
- throw new \InvalidArgumentException (sprintf ('The "normalizer" option must be a valid callable ("%s" given). ' , is_object ($ this ->normalizer ) ? get_class ($ this ->normalizer ) : gettype ($ this ->normalizer )));
124
+ throw new \InvalidArgumentException (sprintf ('The "normalizer" option must be a valid callable ("%s" given). ' , \ is_object ($ this ->normalizer ) ? \ get_class ($ this ->normalizer ) : \ gettype ($ this ->normalizer )));
125
125
}
126
126
}
127
127
}
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ public function __construct($options = null)
82
82
parent ::__construct ($ options );
83
83
84
84
if (null !== $ this ->normalizer && !\is_callable ($ options ['normalizer ' ])) {
85
- throw new \InvalidArgumentException (sprintf ('The "normalizer" option must be a valid callable ("%s" given). ' , is_object ($ this ->normalizer ) ? get_class ($ this ->normalizer ) : gettype ($ this ->normalizer )));
85
+ throw new \InvalidArgumentException (sprintf ('The "normalizer" option must be a valid callable ("%s" given). ' , \ is_object ($ this ->normalizer ) ? \ get_class ($ this ->normalizer ) : \ gettype ($ this ->normalizer )));
86
86
}
87
87
}
88
88
}
You can’t perform that action at this time.
0 commit comments