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, '\\/'); } /**