File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11CHANGELOG
22=========
33
4+ 5.0.0
5+ -----
6+
7+ * added argument ` $triggerDeprecation ` to ` OptionsResolver::offsetGet() `
8+
494.3.0
510-----
611
Original file line number Diff line number Diff line change @@ -828,7 +828,7 @@ public function resolve(array $options = [])
828828 * Returns the resolved value of an option.
829829 *
830830 * @param string $option The option name
831- * @param bool $triggerDeprecation Whether to trigger the deprecation or not (true by default)
831+ * @param bool $triggerDeprecation Whether to trigger the deprecation or not
832832 *
833833 * @return mixed The option value
834834 *
@@ -840,7 +840,7 @@ public function resolve(array $options = [])
840840 * @throws OptionDefinitionException If there is a cyclic dependency between
841841 * lazy options and/or normalizers
842842 */
843- public function offsetGet ($ option/* , bool $triggerDeprecation = true*/ )
843+ public function offsetGet ($ option , bool $ triggerDeprecation = true )
844844 {
845845 if (!$ this ->locked ) {
846846 throw new AccessException ('Array access is only supported within closures of lazy options and normalizers. ' );
You can’t perform that action at this time.
0 commit comments