You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -115,7 +115,7 @@ public function get($key, $default = null, $deep = false)
115
115
thrownew \InvalidArgumentException(sprintf('Malformed path. Unexpected "]" at position %d.', $i));
116
116
}
117
117
118
-
if (!is_array($value) || !array_key_exists($currentKey, $value)) {
118
+
if (!\is_array($value) || !array_key_exists($currentKey, $value)) {
119
119
return$default;
120
120
}
121
121
@@ -263,7 +263,7 @@ public function filter($key, $default = null, $filter = FILTER_DEFAULT, $options
263
263
$filters[filter_id($tmp)] = 1;
264
264
}
265
265
}
266
-
if (is_bool($filter) || !isset($filters[$filter]) || is_array($deep)) {
266
+
if (\is_bool($filter) || !isset($filters[$filter]) || \is_array($deep)) {
267
267
@trigger_error('Passing the $deep boolean as 3rd argument to the '.__METHOD__.' method is deprecated since Symfony 2.8 and will be removed in 3.0. Remove it altogether as the $deep argument will be removed in 3.0.', E_USER_DEPRECATED);
268
268
$tmp = $deep;
269
269
$deep = $filter;
@@ -274,12 +274,12 @@ public function filter($key, $default = null, $filter = FILTER_DEFAULT, $options
274
274
$value = $this->get($key, $default, $deep);
275
275
276
276
// Always turn $options into an array - this allows filter_var option shortcuts.
277
-
if (!is_array($options) && $options) {
277
+
if (!\is_array($options) && $options) {
278
278
$options = array('flags' => $options);
279
279
}
280
280
281
281
// Add a convenience check for arrays.
282
-
if (is_array($value) && !isset($options['flags'])) {
282
+
if (\is_array($value) && !isset($options['flags'])) {
0 commit comments