@@ -43,7 +43,7 @@ interface OptionsResolverInterface
4343 * @param array $defaultValues A list of option names as keys and default
4444 * values or closures as values.
4545 *
46- * @return OptionsResolverInterface The resolver instance.
46+ * @return OptionsResolverInterface The resolver instance
4747 */
4848 public function setDefaults (array $ defaultValues );
4949
@@ -58,7 +58,7 @@ public function setDefaults(array $defaultValues);
5858 * @param array $defaultValues A list of option names as keys and default
5959 * values or closures as values.
6060 *
61- * @return OptionsResolverInterface The resolver instance.
61+ * @return OptionsResolverInterface The resolver instance
6262 */
6363 public function replaceDefaults (array $ defaultValues );
6464
@@ -71,9 +71,9 @@ public function replaceDefaults(array $defaultValues);
7171 * if you want to determine whether an option has been set or not because otherwise
7272 * {@link resolve()} would trigger an exception for unknown options.
7373 *
74- * @param array $optionNames A list of option names.
74+ * @param array $optionNames A list of option names
7575 *
76- * @return OptionsResolverInterface The resolver instance.
76+ * @return OptionsResolverInterface The resolver instance
7777 */
7878 public function setOptional (array $ optionNames );
7979
@@ -83,9 +83,9 @@ public function setOptional(array $optionNames);
8383 * If these options are not passed to {@link resolve()} and no default has been set for
8484 * them, an exception will be thrown.
8585 *
86- * @param array $optionNames A list of option names.
86+ * @param array $optionNames A list of option names
8787 *
88- * @return OptionsResolverInterface The resolver instance.
88+ * @return OptionsResolverInterface The resolver instance
8989 */
9090 public function setRequired ($ optionNames );
9191
@@ -96,7 +96,7 @@ public function setRequired($optionNames);
9696 * with values acceptable for that option as
9797 * values.
9898 *
99- * @return OptionsResolverInterface The resolver instance.
99+ * @return OptionsResolverInterface The resolver instance
100100 *
101101 * @throws InvalidOptionsException If an option has not been defined
102102 * (see {@link isKnown()}) for which
@@ -113,7 +113,7 @@ public function setAllowedValues($allowedValues);
113113 * with values acceptable for that option as
114114 * values.
115115 *
116- * @return OptionsResolverInterface The resolver instance.
116+ * @return OptionsResolverInterface The resolver instance
117117 *
118118 * @throws InvalidOptionsException If an option has not been defined
119119 * (see {@link isKnown()}) for which
@@ -127,7 +127,7 @@ public function addAllowedValues($allowedValues);
127127 * @param array $allowedTypes A list of option names as keys and type
128128 * names passed as string or array as values.
129129 *
130- * @return OptionsResolverInterface The resolver instance.
130+ * @return OptionsResolverInterface The resolver instance
131131 *
132132 * @throws InvalidOptionsException If an option has not been defined for
133133 * which an allowed type is set.
@@ -142,7 +142,7 @@ public function setAllowedTypes($allowedTypes);
142142 * @param array $allowedTypes A list of option names as keys and type
143143 * names passed as string or array as values.
144144 *
145- * @return OptionsResolverInterface The resolver instance.
145+ * @return OptionsResolverInterface The resolver instance
146146 *
147147 * @throws InvalidOptionsException If an option has not been defined for
148148 * which an allowed type is set.
@@ -163,9 +163,9 @@ public function addAllowedTypes($allowedTypes);
163163 *
164164 * The closure should return the normalized value.
165165 *
166- * @param array $normalizers An array of closures.
166+ * @param array $normalizers An array of closures
167167 *
168- * @return OptionsResolverInterface The resolver instance.
168+ * @return OptionsResolverInterface The resolver instance
169169 */
170170 public function setNormalizers (array $ normalizers );
171171
@@ -175,9 +175,9 @@ public function setNormalizers(array $normalizers);
175175 * An option is known if it has been passed to either {@link setDefaults()},
176176 * {@link setRequired()} or {@link setOptional()} before.
177177 *
178- * @param string $option The name of the option.
178+ * @param string $option The name of the option
179179 *
180- * @return bool Whether the option is known.
180+ * @return bool Whether the option is known
181181 */
182182 public function isKnown ($ option );
183183
@@ -188,18 +188,18 @@ public function isKnown($option);
188188 * but not to {@link setDefaults()}. That is, the option has been declared
189189 * as required and no default value has been set.
190190 *
191- * @param string $option The name of the option.
191+ * @param string $option The name of the option
192192 *
193- * @return bool Whether the option is required.
193+ * @return bool Whether the option is required
194194 */
195195 public function isRequired ($ option );
196196
197197 /**
198198 * Returns the combination of the default and the passed options.
199199 *
200- * @param array $options The custom option values.
200+ * @param array $options The custom option values
201201 *
202- * @return array A list of options and their values.
202+ * @return array A list of options and their values
203203 *
204204 * @throws InvalidOptionsException If any of the passed options has not
205205 * been defined or does not contain an
0 commit comments