Skip to content

Commit c3de7e3

Browse files
committed
fix: fix phpdoc facade Storage
1 parent a8a5395 commit c3de7e3

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

src/Facades/Storage.php

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
namespace BlitzPHP\Facades;
1313

14+
use BlitzPHP\Contracts\Filesystem\FilesystemInterface;
1415
use BlitzPHP\Filesystem\FilesystemManager;
1516
use Closure;
1617
use DateTimeInterface;
@@ -22,25 +23,25 @@
2223
* @method static array allDirectories(string|null $directory = null)
2324
* @method static array allFiles(string|null $directory = null)
2425
* @method static bool append(string $path, string $data)
25-
* @method static \BlitzPHP\Filesystem\FilesystemInterface build(array|string $config)
26+
* @method static FilesystemInterface build(array|string $config)
2627
* @method static void buildTemporaryUrlsUsing(Closure $callback)
2728
* @method static string|false checksum(string $path, array $options = [])
28-
* @method static \BlitzPHP\Filesystem\FilesystemInterface cloud()
29+
* @method static FilesystemInterface cloud()
2930
* @method static bool copy(string $from, string $to)
3031
* @method static void createDirectory(string $location, array $config = [])
31-
* @method static \BlitzPHP\Filesystem\FilesystemInterface createFtpDriver(array $config)
32-
* @method static \BlitzPHP\Filesystem\FilesystemInterface createLocalDriver(array $config)
33-
* @method static \BlitzPHP\Filesystem\FilesystemInterface createS3Driver(array $config)
34-
* @method static \BlitzPHP\Filesystem\FilesystemInterface createScopedDriver(array $config)
35-
* @method static \BlitzPHP\Filesystem\FilesystemInterface createSftpDriver(array $config)
32+
* @method static FilesystemInterface createFtpDriver(array $config)
33+
* @method static FilesystemInterface createLocalDriver(array $config)
34+
* @method static FilesystemInterface createS3Driver(array $config)
35+
* @method static FilesystemInterface createScopedDriver(array $config)
36+
* @method static FilesystemInterface createSftpDriver(array $config)
3637
* @method static bool delete(array|string $paths)
3738
* @method static bool deleteDirectory(string $directory)
3839
* @method static array directories(string|null $directory = null, bool $recursive = false)
3940
* @method static bool directoryExists(string $path)
4041
* @method static bool directoryMissing(string $path)
41-
* @method static \BlitzPHP\Filesystem\FilesystemInterface disk(string|null $name = null)
42+
* @method static FilesystemInterface disk(string|null $name = null)
4243
* @method static \Symfony\Component\HttpFoundation\StreamedResponse download(string $path, string|null $name = null, array $headers = [])
43-
* @method static \BlitzPHP\Filesystem\FilesystemInterface drive(string|null $name = null)
44+
* @method static FilesystemInterface drive(string|null $name = null)
4445
* @method static bool exists(string $path)
4546
* @method static FilesystemManager extend(string $driver, Closure $callback)
4647
* @method static bool fileExists(string $path)
@@ -67,7 +68,7 @@
6768
* @method static bool missing(string $path)
6869
* @method static void mixin(object $mixin, bool $replace = true)
6970
* @method static bool move(string $from, string $to)
70-
* @method static \BlitzPHP\Filesystem\FilesystemAdapter|mixed when((Closure | mixed | null) $value = null, (callable | null) $callback = null, (callable | null) $default = null)
71+
* @method static FilesystemAdapter|mixed when((Closure | mixed | null) $value = null, (callable | null) $callback = null, (callable | null) $default = null)
7172
* @method static string path(string $path)
7273
* @method static bool prepend(string $path, string $data)
7374
* @method static bool providesTemporaryUrls()
@@ -88,7 +89,7 @@
8889
* @method static void write(string $location, string $contents, array $config = [])
8990
* @method static bool writeStream(string $path, resource $resource, array $options = [])
9091
*
91-
* @see FilesystemManager
92+
* @see \BlitzPHP\Filesystem\FilesystemManager
9293
*/
9394
final class Storage extends Facade
9495
{

0 commit comments

Comments
 (0)