We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a70962d + 1adcd64 commit 31a52d5Copy full SHA for 31a52d5
src/ValueObject/AbstractFile.php
@@ -72,7 +72,7 @@ protected function getTrimmedUploadDir(): string
72
*/
73
abstract protected function getUploadDir(): string;
74
75
- public function setFile(UploadedFile $file = null): self
+ public function setFile(?UploadedFile $file = null): self
76
{
77
if ($file === null) {
78
return $this;
0 commit comments