Skip to content

Commit 1adcd64

Browse files
author
Ilaria Orlando
committed
fix abstract file
1 parent 075492d commit 1adcd64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/ValueObject/AbstractFile.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protected function getTrimmedUploadDir(): string
7272
*/
7373
abstract protected function getUploadDir(): string;
7474

75-
public function setFile(UploadedFile $file = null): self
75+
public function setFile(?UploadedFile $file = null): self
7676
{
7777
if ($file === null) {
7878
return $this;

0 commit comments

Comments
 (0)