Skip to content

Commit e4e64cb

Browse files
Merge branch '2.7' into 2.8
* 2.7: [Intl] Make intl-data tests pass and save language aliases again Remove useless docblocks
2 parents cdfc293 + c84683e commit e4e64cb

File tree

2 files changed

+6
-24
lines changed

2 files changed

+6
-24
lines changed

OptionsResolver.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,21 @@ class OptionsResolver implements Options, OptionsResolverInterface
3535

3636
/**
3737
* The names of all defined options.
38-
*
39-
* @var array
4038
*/
4139
private $defined = array();
4240

4341
/**
4442
* The default option values.
45-
*
46-
* @var array
4743
*/
4844
private $defaults = array();
4945

5046
/**
5147
* The names of required options.
52-
*
53-
* @var array
5448
*/
5549
private $required = array();
5650

5751
/**
5852
* The resolved option values.
59-
*
60-
* @var array
6153
*/
6254
private $resolved = array();
6355

@@ -70,31 +62,23 @@ class OptionsResolver implements Options, OptionsResolverInterface
7062

7163
/**
7264
* A list of accepted values for each option.
73-
*
74-
* @var array
7565
*/
7666
private $allowedValues = array();
7767

7868
/**
7969
* A list of accepted types for each option.
80-
*
81-
* @var array
8270
*/
8371
private $allowedTypes = array();
8472

8573
/**
8674
* A list of closures for evaluating lazy options.
87-
*
88-
* @var array
8975
*/
9076
private $lazy = array();
9177

9278
/**
9379
* A list of lazy options whose closure is currently being called.
9480
*
9581
* This list helps detecting circular dependencies between lazy options.
96-
*
97-
* @var array
9882
*/
9983
private $calling = array();
10084

@@ -105,8 +89,6 @@ class OptionsResolver implements Options, OptionsResolverInterface
10589
* necessary in order to avoid inconsistencies during the resolving
10690
* process. If any option is changed after being read, all evaluated
10791
* lazy options that depend on this option would become invalid.
108-
*
109-
* @var bool
11092
*/
11193
private $locked = false;
11294

OptionsResolverInterface.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ interface OptionsResolverInterface
4040
*
4141
* The closures should return the lazily created option value.
4242
*
43-
* @param array $defaultValues a list of option names as keys and default
43+
* @param array $defaultValues A list of option names as keys and default
4444
* values or closures as values
4545
*
4646
* @return $this
@@ -55,7 +55,7 @@ public function setDefaults(array $defaultValues);
5555
* performance if the previous default value is calculated by an expensive
5656
* closure.
5757
*
58-
* @param array $defaultValues a list of option names as keys and default
58+
* @param array $defaultValues A list of option names as keys and default
5959
* values or closures as values
6060
*
6161
* @return $this
@@ -92,7 +92,7 @@ public function setRequired($optionNames);
9292
/**
9393
* Sets allowed values for a list of options.
9494
*
95-
* @param array $allowedValues a list of option names as keys and arrays
95+
* @param array $allowedValues A list of option names as keys and arrays
9696
* with values acceptable for that option as
9797
* values
9898
*
@@ -109,7 +109,7 @@ public function setAllowedValues($allowedValues);
109109
*
110110
* The values are merged with the allowed values defined previously.
111111
*
112-
* @param array $allowedValues a list of option names as keys and arrays
112+
* @param array $allowedValues A list of option names as keys and arrays
113113
* with values acceptable for that option as
114114
* values
115115
*
@@ -124,7 +124,7 @@ public function addAllowedValues($allowedValues);
124124
/**
125125
* Sets allowed types for a list of options.
126126
*
127-
* @param array $allowedTypes a list of option names as keys and type
127+
* @param array $allowedTypes A list of option names as keys and type
128128
* names passed as string or array as values
129129
*
130130
* @return $this
@@ -139,7 +139,7 @@ public function setAllowedTypes($allowedTypes);
139139
*
140140
* The types are merged with the allowed types defined previously.
141141
*
142-
* @param array $allowedTypes a list of option names as keys and type
142+
* @param array $allowedTypes A list of option names as keys and type
143143
* names passed as string or array as values
144144
*
145145
* @return $this

0 commit comments

Comments
 (0)