From f08e49322d265596a36d4f148fb8c24f7a1dc153 Mon Sep 17 00:00:00 2001 From: smiley Date: Wed, 16 Oct 2024 11:08:29 +0200 Subject: [PATCH] :octocat: what the fuck phpstan??? --- tests/BuildDirTrait.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/BuildDirTrait.php b/tests/BuildDirTrait.php index fcc8be4fc..93b6fa8e9 100644 --- a/tests/BuildDirTrait.php +++ b/tests/BuildDirTrait.php @@ -19,14 +19,13 @@ use function dirname, file_exists, file_get_contents, is_file, mkdir, realpath, */ trait BuildDirTrait{ - /** @var string */ - private const _buildDir = __DIR__.'/../.build/'; + private string $_buildDir = __DIR__.'/../.build/'; /** * returns the full raw path to the build dir */ protected function getBuildPath(string $subPath):string{ - return self::_buildDir.trim($subPath, '\\/'); + return $this->_buildDir.trim($subPath, '\\/'); } /**