Skip to content

Commit

Permalink
fix null directory
Browse files Browse the repository at this point in the history
  • Loading branch information
EriBloo committed Nov 29, 2024
1 parent 4795faf commit 9e98bb7
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 9e98bb7

Please sign in to comment.