Skip to content

Commit

Permalink
Merge pull request #366 from EriBloo/master
Browse files Browse the repository at this point in the history
fix null directory
  • Loading branch information
frasmage authored Dec 5, 2024
2 parents 607caa0 + 9e98bb7 commit 0adf971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MediaUploader.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class MediaUploader
/**
* Path relative to the filesystem disk root.
*/
private ?string $directory = null;
private string $directory = '';

/**
* Name of the new file.
Expand Down

0 comments on commit 0adf971

Please sign in to comment.