Fixup and adding tests

This commit is contained in:
Philipp 2023-03-26 22:27:24 +02:00
parent fa9c3d40be
commit e072c9985e
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
3 changed files with 72 additions and 2 deletions

View file

@ -65,7 +65,7 @@ trait VFSTrait
* @param string $sourceFilePath The filename of the config file
* @param bool $static True, if the folder `static` instead of `config` should be used
*/
protected function setConfigFile(string $sourceFilePath, bool $static = false, string $targetFileName = null)
public function setConfigFile(string $sourceFilePath, bool $static = false, string $targetFileName = null)
{
$file = dirname(__DIR__) . DIRECTORY_SEPARATOR .
'..' . DIRECTORY_SEPARATOR .