fix error level for deprecation
This commit is contained in:
parent
3a57b77bc7
commit
49296347c8
@ -268,7 +268,7 @@ class ParameterBag implements \IteratorAggregate, \Countable
|
||||
}
|
||||
}
|
||||
if (is_bool($filter) || !isset($filters[$filter]) || is_array($deep)) {
|
||||
@trigger_error('Passing the $deep boolean as 3rd argument to the '.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0. Remove it altogether as the $deep argument will be removed in 3.0.', E_USER_ERROR);
|
||||
@trigger_error('Passing the $deep boolean as 3rd argument to the '.__METHOD__.' method is deprecated since version 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);
|
||||
$tmp = $deep;
|
||||
$deep = $filter;
|
||||
$filter = $options;
|
||||
|
Reference in New Issue
Block a user