Skip to content

Commit

Permalink
[BUGFIX] fix FilesystemInterface prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanti committed May 24, 2024
1 parent ec72cc7 commit 65cad79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
if (StaticPHPUnitEnvironment::isPHPUnitRun() || $isDryRun) {
$adapter = new InMemoryFilesystemAdapter();
} else {
$adapter = new LocalFilesystemAdapter('/');
$adapter = new LocalFilesystemAdapter(getcwd());

Check failure on line 34 in config/config.php

View workflow job for this annotation

GitHub Actions / 7.4 PHPStan

Parameter #1 $location of class League\Flysystem\Local\LocalFilesystemAdapter constructor expects string, string|false given.

Check failure on line 34 in config/config.php

View workflow job for this annotation

GitHub Actions / 8.1 PHPStan

Parameter #1 $location of class League\Flysystem\Local\LocalFilesystemAdapter constructor expects string, string|false given.

Check failure on line 34 in config/config.php

View workflow job for this annotation

GitHub Actions / 8.2 PHPStan

Parameter #1 $location of class League\Flysystem\Local\LocalFilesystemAdapter constructor expects string, string|false given.

Check failure on line 34 in config/config.php

View workflow job for this annotation

GitHub Actions / 8.3 PHPStan

Parameter #1 $location of class League\Flysystem\Local\LocalFilesystemAdapter constructor expects string, string|false given.
}

return new FlysystemFilesystem(new Filesystem($adapter));
Expand Down

0 comments on commit 65cad79

Please sign in to comment.