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
Note that the default value is ``false`` to keep the current behavior.
520
520
521
521
#. If the argument has a default value that will change the current behavior,
522
522
warn the user::
523
523
524
-
trigger_deprecation('symfony/COMPONENT', 'X.Y', 'Not passing the "bool $stripWithespace" argument explicitly is deprecated, its default value will change to X in Z.0.');
524
+
trigger_deprecation('symfony/COMPONENT', 'X.Y', 'Not passing the "bool $stripWhitespace" argument explicitly is deprecated, its default value will change to X in Z.0.');
525
525
526
526
#. If the argument has no default value, warn the user that is going to be
527
527
required in the next major version::
528
528
529
529
if (\func_num_args() < 2) {
530
-
trigger_deprecation('symfony/COMPONENT', 'X.Y', 'The "%s()" method will have a new "bool $stripWithespace" argument in version Z.0, not defining it is deprecated.', __METHOD__);
530
+
trigger_deprecation('symfony/COMPONENT', 'X.Y', 'The "%s()" method will have a new "bool $stripWhitespace" argument in version Z.0, not defining it is deprecated.', __METHOD__);
531
531
532
-
$stripWithespace = false;
532
+
$stripWhitespace = false;
533
533
} else {
534
-
$stripWithespace = func_get_arg(1);
534
+
$stripWhitespace = func_get_arg(1);
535
535
}
536
536
537
537
#. In the next major version (``X.0``), uncomment the argument, remove the
0 commit comments