Skip to content

Commit 17fd2dc

Browse files
committed
adjust typing for FileWriter
1 parent 9a7d83f commit 17fd2dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FileWriter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function saveFile( string $archive_dir ) : void {
6262
}
6363

6464
$directory_in_archive =
65-
$path_info['dirname'] ? $path_info['dirname'] : '';
65+
$path_info['dirname'] ?? '';
6666

6767
$file_dir = $archive_dir . ltrim( $directory_in_archive, '/' );
6868

0 commit comments

Comments
 (0)