Skip to content

Commit 3edb596

Browse files
committed
bug symfony#61105 [FrameworkBundle] fix phpdoc in MicroKernelTrait (santysisi)
This PR was merged into the 6.4 branch. Discussion ---------- [FrameworkBundle] fix phpdoc in `MicroKernelTrait` | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | no | License | MIT Minor: Fix PHPDoc comments by replacing `/* `@var`` with the correct `/** `@var`` syntax to improve IDE support and adhere to PHPDoc standards. Commits ------- 21edffc [FrameworkBundle] fix phpdoc in `MicroKernelTrait`
2 parents fb11d06 + 21edffc commit 3edb596

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/Kernel/MicroKernelTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public function registerContainerConfiguration(LoaderInterface $loader)
178178
}
179179

180180
$file = (new \ReflectionObject($this))->getFileName();
181-
/* @var ContainerPhpFileLoader $kernelLoader */
181+
/** @var ContainerPhpFileLoader $kernelLoader */
182182
$kernelLoader = $loader->getResolver()->resolve($file);
183183
$kernelLoader->setCurrentDir(\dirname($file));
184184
$instanceof = &\Closure::bind(fn &() => $this->instanceof, $kernelLoader, $kernelLoader)();
@@ -204,7 +204,7 @@ public function registerContainerConfiguration(LoaderInterface $loader)
204204
public function loadRoutes(LoaderInterface $loader): RouteCollection
205205
{
206206
$file = (new \ReflectionObject($this))->getFileName();
207-
/* @var RoutingPhpFileLoader $kernelLoader */
207+
/** @var RoutingPhpFileLoader $kernelLoader */
208208
$kernelLoader = $loader->getResolver()->resolve($file, 'php');
209209
$kernelLoader->setCurrentDir(\dirname($file));
210210
$collection = new RouteCollection();

0 commit comments

Comments
 (0)