@@ -40,8 +40,8 @@ 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
44- * values or closures as values.
43+ * @param array $defaultValues a list of option names as keys and default
44+ * values or closures as values
4545 *
4646 * @return $this
4747 */
@@ -55,8 +55,8 @@ 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
59- * values or closures as values.
58+ * @param array $defaultValues a list of option names as keys and default
59+ * values or closures as values
6060 *
6161 * @return $this
6262 */
@@ -92,15 +92,15 @@ 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
97- * values.
97+ * values
9898 *
9999 * @return $this
100100 *
101- * @throws InvalidOptionsException If an option has not been defined
101+ * @throws InvalidOptionsException if an option has not been defined
102102 * (see {@link isKnown()}) for which
103- * an allowed value is set.
103+ * an allowed value is set
104104 */
105105 public function setAllowedValues ($ allowedValues );
106106
@@ -109,28 +109,28 @@ 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
114- * values.
114+ * values
115115 *
116116 * @return $this
117117 *
118- * @throws InvalidOptionsException If an option has not been defined
118+ * @throws InvalidOptionsException if an option has not been defined
119119 * (see {@link isKnown()}) for which
120- * an allowed value is set.
120+ * an allowed value is set
121121 */
122122 public function addAllowedValues ($ allowedValues );
123123
124124 /**
125125 * Sets allowed types for a list of options.
126126 *
127- * @param array $allowedTypes A list of option names as keys and type
128- * names passed as string or array as values.
127+ * @param array $allowedTypes a list of option names as keys and type
128+ * names passed as string or array as values
129129 *
130130 * @return $this
131131 *
132- * @throws InvalidOptionsException If an option has not been defined for
133- * which an allowed type is set.
132+ * @throws InvalidOptionsException if an option has not been defined for
133+ * which an allowed type is set
134134 */
135135 public function setAllowedTypes ($ allowedTypes );
136136
@@ -139,13 +139,13 @@ 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
143- * names passed as string or array as values.
142+ * @param array $allowedTypes a list of option names as keys and type
143+ * names passed as string or array as values
144144 *
145145 * @return $this
146146 *
147- * @throws InvalidOptionsException If an option has not been defined for
148- * which an allowed type is set.
147+ * @throws InvalidOptionsException if an option has not been defined for
148+ * which an allowed type is set
149149 */
150150 public function addAllowedTypes ($ allowedTypes );
151151
@@ -201,12 +201,12 @@ public function isRequired($option);
201201 *
202202 * @return array A list of options and their values
203203 *
204- * @throws InvalidOptionsException If any of the passed options has not
204+ * @throws InvalidOptionsException if any of the passed options has not
205205 * been defined or does not contain an
206- * allowed value.
207- * @throws MissingOptionsException If a required option is missing.
208- * @throws OptionDefinitionException If a cyclic dependency is detected
209- * between two lazy options.
206+ * allowed value
207+ * @throws MissingOptionsException if a required option is missing
208+ * @throws OptionDefinitionException if a cyclic dependency is detected
209+ * between two lazy options
210210 */
211211 public function resolve (array $ options = array ());
212212}
0 commit comments