Skip to content

Commit

Permalink
Phpstan: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
f3l1x committed Nov 24, 2021
1 parent fee4274 commit 5b34933
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/FileUploadControl.php
Expand Up @@ -67,7 +67,7 @@ class FileUploadControl extends UploadControl
/** @var UploadController */
private $controller;

/** @var string|null */
/** @var class-string<IUploadModel>|null */
private $uploadModel;

/**
Expand Down Expand Up @@ -314,6 +314,9 @@ public function getUploadModel(): IUploadModel
}
}

/**
* @param class-string<IUploadModel> $uploadModel
*/
public function setUploadModel(string $uploadModel): self
{
$this->uploadModel = $uploadModel;
Expand Down

0 comments on commit 5b34933

Please sign in to comment.