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.
515
515
516
516
#. If the argument has a default value that will change the current behavior,
517
517
warn the user::
518
518
519
-
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.');
519
+
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.');
520
520
521
521
#. If the argument has no default value, warn the user that is going to be
522
522
required in the next major version::
523
523
524
524
if (\func_num_args() < 2) {
525
-
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__);
525
+
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__);
526
526
527
-
$stripWithespace = false;
527
+
$stripWhitespace = false;
528
528
} else {
529
-
$stripWithespace = func_get_arg(1);
529
+
$stripWhitespace = func_get_arg(1);
530
530
}
531
531
532
532
#. In the next major version (``X.0``), uncomment the argument, remove the
0 commit comments