Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
#32853 Check if $this->parameters is array.#32870
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
nicolas-grekas commentedAug 2, 2019
Would it work if we initializer the property to the empty array when it is declared instead? |
ABGEO commentedAug 3, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@nicolas-grekas Yes, it will. If the array is empty, it will return false. |
nicolas-grekas commentedAug 3, 2019
Great, can you update the patch then please? |
nicolas-grekas commentedAug 3, 2019
I mean: change the patch to initialize the property, and revert the current changes. |
ABGEO commentedAug 3, 2019
@nicolas-grekas Done and it works. |
nicolas-grekas commentedAug 3, 2019
Thank you @ABGEO07. |
This PR was submitted for the 4.3 branch but it was squashed and merged into the 3.4 branch instead (closes#32870).Discussion----------| Q | A| ------------- | ---| Branch? | 4.3| Bug fix? | yes| New feature? | no| Tests pass? | yes| Fixed tickets |#32853| License | MITCommits-------7cf9ed6#32853 Check if $this->parameters is array.
Uh oh!
There was an error while loading.Please reload this page.