8000 Update AbstractBundle.php, use !isset($this->path) · symfony/symfony@c59f4c5 · GitHub
[go: up one dir, main page]

Skip to content

Commit c59f4c5

Browse files
authored
Update AbstractBundle.php, use !isset($this->path)
Fixes issue #52292
1 parent a98f6da commit c59f4c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Bundle/AbstractBundle.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function getContainerExtension(): ?ExtensionInterface
5050

5151
public function getPath(): string
5252
{
53-
if (null === $this->path) {
53+
if (!isset($this->path)) {
5454
$reflected = new \ReflectionObject($this);
5555
// assume the modern directory structure by default
5656
$this->path = \dirname($reflected->getFileName(), 2);

0 commit comments

Comments
 (0)
0