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
Copy file name to clipboardExpand all lines: OptionsResolver.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -458,7 +458,7 @@ public function setAllowedValues($option, $allowedValues = null)
458
458
459
459
// BC
460
460
if (is_array($option) && null === $allowedValues) {
461
-
@trigger_error('Calling the '.__METHOD__.' method with an array of options is deprecated since version 2.6 and will be removed in 3.0. Use the new signature with a single option instead.', E_USER_DEPRECATED);
461
+
@trigger_error('Calling the '.__METHOD__.' method with an array of options is deprecated since Symfony 2.6 and will be removed in 3.0. Use the new signature with a single option instead.', E_USER_DEPRECATED);
@@ -514,7 +514,7 @@ public function addAllowedValues($option, $allowedValues = null)
514
514
515
515
// BC
516
516
if (is_array($option) && null === $allowedValues) {
517
-
@trigger_error('Calling the '.__METHOD__.' method with an array of options is deprecated since version 2.6 and will be removed in 3.0. Use the new signature with a single option instead.', E_USER_DEPRECATED);
517
+
@trigger_error('Calling the '.__METHOD__.' method with an array of options is deprecated since Symfony 2.6 and will be removed in 3.0. Use the new signature with a single option instead.', E_USER_DEPRECATED);
@@ -570,7 +570,7 @@ public function setAllowedTypes($option, $allowedTypes = null)
570
570
571
571
// BC
572
572
if (is_array($option) && null === $allowedTypes) {
573
-
@trigger_error('Calling the '.__METHOD__.' method with an array of options is deprecated since version 2.6 and will be removed in 3.0. Use the new signature with a single option instead.', E_USER_DEPRECATED);
573
+
@trigger_error('Calling the '.__METHOD__.' method with an array of options is deprecated since Symfony 2.6 and will be removed in 3.0. Use the new signature with a single option instead.', E_USER_DEPRECATED);
@@ -620,7 +620,7 @@ public function addAllowedTypes($option, $allowedTypes = null)
620
620
621
621
// BC
622
622
if (is_array($option) && null === $allowedTypes) {
623
-
@trigger_error('Calling the '.__METHOD__.' method with an array of options is deprecated since version 2.6 and will be removed in 3.0. Use the new signature with a single option instead.', E_USER_DEPRECATED);
623
+
@trigger_error('Calling the '.__METHOD__.' method with an array of options is deprecated since Symfony 2.6 and will be removed in 3.0. Use the new signature with a single option instead.', E_USER_DEPRECATED);
0 commit comments