Skip to content

Commit 75c0eaf

Browse files
committed
Fix initialized types
1 parent 5c26897 commit 75c0eaf

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/Controllers/Files.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ class Files extends Controller
2424

2525
/**
2626
* The model to use.
27-
*
28-
* @var FileModel
2927
*/
3028
protected FileModel $model;
3129

src/Entities/File.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class File extends Entity
1818
/**
1919
* Resolved path to the default thumbnail
2020
*/
21-
protected static ?string $defaultThumbnail;
21+
protected static ?string $defaultThumbnail = null;
2222

2323
/**
2424
* Returns the absolute path to the configured default thumbnail

src/Structures/FileObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class FileObject extends File
1616
/**
1717
* Base file name to override disk version
1818
*/
19-
protected ?string $basename;
19+
protected ?string $basename = null;
2020

2121
/**
2222
* Returns the full path to this file

0 commit comments

Comments
 (0)