Skip to content

Commit 8cb0538

Browse files
committed
fixed some deprecation messages
1 parent d0012c5 commit 8cb0538

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

OptionsResolver.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ public function setAllowedValues($option, $allowedValues = null)
458458

459459
// BC
460460
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);
462462

463463
foreach ($option as $optionName => $optionValues) {
464464
$this->setAllowedValues($optionName, $optionValues);
@@ -514,7 +514,7 @@ public function addAllowedValues($option, $allowedValues = null)
514514

515515
// BC
516516
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);
518518

519519
foreach ($option as $optionName => $optionValues) {
520520
$this->addAllowedValues($optionName, $optionValues);
@@ -570,7 +570,7 @@ public function setAllowedTypes($option, $allowedTypes = null)
570570

571571
// BC
572572
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);
574574

575575
foreach ($option as $optionName => $optionTypes) {
576576
$this->setAllowedTypes($optionName, $optionTypes);
@@ -620,7 +620,7 @@ public function addAllowedTypes($option, $allowedTypes = null)
620620

621621
// BC
622622
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);
624624

625625
foreach ($option as $optionName => $optionTypes) {
626626
$this->addAllowedTypes($optionName, $optionTypes);

0 commit comments

Comments
 (0)