minor #31950 [OptionsResolver] fix adding $triggerDeprecation to Options::offsetGet() (nicolas-grekas)
This PR was submitted for the 4.3 branch but it was merged into the 4.2 branch instead (closes #31950).
Discussion
----------
[OptionsResolver] fix adding $triggerDeprecation to Options::offsetGet()
| Q | A
| ------------- | ---
| Branch? | 4.3
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
This has been added by @yceruto in #28878 but it doesn't make sense to me: the interface has no concept if deprecation (`OptionsResolver` has!)
Commits
-------
adc7e6ab7c
[OptionsResolver] fix adding $triggerDeprecation to Options::offsetGet()
This commit is contained in:
commit
9025ded97a
@ -16,8 +16,6 @@ namespace Symfony\Component\OptionsResolver;
|
||||
*
|
||||
* @author Bernhard Schussek <bschussek@gmail.com>
|
||||
* @author Tobias Schultze <http://tobion.de>
|
||||
*
|
||||
* @method mixed offsetGet(string $option, bool $triggerDeprecation = true)
|
||||
*/
|
||||
interface Options extends \ArrayAccess, \Countable
|
||||
{
|
||||
|
Reference in New Issue
Block a user