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 1
1
CHANGELOG
2
2
=========
3
3
4
+ 5.0.0
5
+ -----
6
+
7
+ * added argument ` $triggerDeprecation ` to ` OptionsResolver::offsetGet() `
8
+
4
9
4.3.0
5
10
-----
6
11
Original file line number Diff line number Diff line change @@ -828,7 +828,7 @@ public function resolve(array $options = [])
828
828
* Returns the resolved value of an option.
829
829
*
830
830
* @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
832
832
*
833
833
* @return mixed The option value
834
834
*
@@ -840,7 +840,7 @@ public function resolve(array $options = [])
840
840
* @throws OptionDefinitionException If there is a cyclic dependency between
841
841
* lazy options and/or normalizers
842
842
*/
843
- public function offsetGet ($ option/* , bool $triggerDeprecation = true*/ )
843
+ public function offsetGet ($ option , bool $ triggerDeprecation = true )
844
844
{
845
845
if (!$ this ->locked ) {
846
846
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