You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bug #52298 [HttpKernel] Update AbstractBundle.php, use !isset($this->path) (tacman)
This PR was merged into the 7.0 branch.
Discussion
----------
[HttpKernel] Update AbstractBundle.php, use !isset($this->path)
Fixes issue #52292
| Q | A
| ------------- | ---
| Branch? | 7.0
| Bug fix? | yes
| New feature? no
| Deprecations?no
| Issues | Fix #52292
| License | MIT
Check for isset rather than accessing the property before initialization.
```
!! Error {#111
!! #message: "Typed property Symfony\Component\HttpKernel\Bundle\Bundle::$path must not be accessed before initialization"
!! #code: 0
!! #file: "./vendor/symfony/http-kernel/Bundle/AbstractBundle.php"
!! #line: 53
!! trace: {
```
Commits
-------
c59f4c5 Update AbstractBundle.php, use !isset($this->path)
0 commit comments