Skip to content

Commit 51becd7

Browse files
committed
refactor: remove unused $disk method in File class
1 parent c18fc0a commit 51becd7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Laravel/Concerns/File.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@
66
class File
77
{
88
private string $path;
9-
private ?string $disk;
109
private Disk $diskInstance;
1110

1211

1312
public function __construct(string $path, ?string $disk = null)
1413
{
1514
$this->path = $path;
16-
$this->disk = $disk;
1715
$this->diskInstance = Disk::make($disk);
1816
}
1917

0 commit comments

Comments
 (0)