@@ -30,7 +30,7 @@ class CurrencyType extends AbstractType implements ChoiceLoaderInterface
30
30
*
31
31
* @var ArrayChoiceList
32
32
*
33
- * @deprecated since Symfony 4.2
33
+ * @deprecated since Symfony 4.1
34
34
*/
35
35
private $ choiceList ;
36
36
@@ -73,11 +73,11 @@ public function getBlockPrefix()
73
73
/**
74
74
* {@inheritdoc}
75
75
*
76
- * @deprecated since Symfony 4.2
76
+ * @deprecated since Symfony 4.1
77
77
*/
78
78
public function loadChoiceList ($ value = null )
79
79
{
80
- @trigger_error (sprintf ('Method "%s" is deprecated since Symfony 4.2 , use "choice_loader" option instead. ' , __METHOD__ ), E_USER_DEPRECATED );
80
+ @trigger_error (sprintf ('Method "%s" is deprecated since Symfony 4.1 , use "choice_loader" option instead. ' , __METHOD__ ), E_USER_DEPRECATED );
81
81
82
82
if (null !== $ this ->choiceList ) {
83
83
return $ this ->choiceList ;
@@ -89,11 +89,11 @@ public function loadChoiceList($value = null)
89
89
/**
90
90
* {@inheritdoc}
91
91
*
92
- * @deprecated since Symfony 4.2
92
+ * @deprecated since Symfony 4.1
93
93
*/
94
94
public function loadChoicesForValues (array $ values , $ value = null )
95
95
{
96
- @trigger_error (sprintf ('Method "%s" is deprecated since Symfony 4.2 , use "choice_loader" option instead. ' , __METHOD__ ), E_USER_DEPRECATED );
96
+ @trigger_error (sprintf ('Method "%s" is deprecated since Symfony 4.1 , use "choice_loader" option instead. ' , __METHOD__ ), E_USER_DEPRECATED );
97
97
98
98
// Optimize
99
99
$ values = array_filter ($ values );
@@ -112,11 +112,11 @@ public function loadChoicesForValues(array $values, $value = null)
112
112
/**
113
113
* {@inheritdoc}
114
114
*
115
- * @deprecated since Symfony 4.2
115
+ * @deprecated since Symfony 4.1
116
116
*/
117
117
public function loadValuesForChoices (array $ choices , $ value = null )
118
118
{
119
- @trigger_error (sprintf ('Method "%s" is deprecated since Symfony 4.2 , use "choice_loader" option instead. ' , __METHOD__ ), E_USER_DEPRECATED );
119
+ @trigger_error (sprintf ('Method "%s" is deprecated since Symfony 4.1 , use "choice_loader" option instead. ' , __METHOD__ ), E_USER_DEPRECATED );
120
120
121
121
// Optimize
122
122
$ choices = array_filter ($ choices );
0 commit comments