Skip to content

Commit d89f849

Browse files
committed
fix(EnvironmentLoader): remove invalid @var PHPDoc on constructor property
- Deleted @var tag placed above the __construct() method, which triggered PHPStan warnings: “PHPDoc tag @var above a method has no effect” and “@var does not specify variable name”. - Constructor property promotion already provides the correct type (`string $basePath`), so the redundant and incorrect PHPDoc was removed. No runtime changes; static-analysis cleanup only.
1 parent 884fb81 commit d89f849

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Core/EnvironmentLoader.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ final class EnvironmentLoader
5858
/**
5959
* 📂 **Base Directory Path**
6060
*
61-
* The directory that contains the environment files. Typically the project root.
62-
*
63-
* @var string
61+
* @param string $basePath Absolute path to the directory containing environment files
6462
*/
6563
public function __construct(private readonly string $basePath)
6664
{

0 commit comments

Comments
 (0)