Skip to content

Commit

Permalink
refactor: remove unused $disk method in File class
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafaznv committed Jan 16, 2024
1 parent c18fc0a commit 51becd7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Laravel/Concerns/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@
class File
{
private string $path;
private ?string $disk;
private Disk $diskInstance;


public function __construct(string $path, ?string $disk = null)
{
$this->path = $path;
$this->disk = $disk;
$this->diskInstance = Disk::make($disk);
}

Expand Down

0 comments on commit 51becd7

Please sign in to comment.