Sfoglia il codice sorgente

:octocat: what the fuck phpstan???

smiley 1 anno fa
parent
commit
f08e49322d
1 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  1. 2 3
      tests/BuildDirTrait.php

+ 2 - 3
tests/BuildDirTrait.php

@@ -19,14 +19,13 @@ use function dirname, file_exists, file_get_contents, is_file, mkdir, realpath,
  */
  */
 trait BuildDirTrait{
 trait BuildDirTrait{
 
 
-	/** @var string */
-	private const _buildDir = __DIR__.'/../.build/';
+	private string $_buildDir = __DIR__.'/../.build/';
 
 
 	/**
 	/**
 	 * returns the full raw path to the build dir
 	 * returns the full raw path to the build dir
 	 */
 	 */
 	protected function getBuildPath(string $subPath):string{
 	protected function getBuildPath(string $subPath):string{
-		return self::_buildDir.trim($subPath, '\\/');
+		return $this->_buildDir.trim($subPath, '\\/');
 	}
 	}
 
 
 	/**
 	/**