handle nullable pdf params
This commit is contained in:
parent
9126b0e968
commit
8c8ee4c050
3 changed files with 18 additions and 4 deletions
|
|
@ -5,8 +5,8 @@ namespace App\Element\UseCases\GetElementPdf;
|
|||
class GetElementPdfRequest
|
||||
{
|
||||
public function __construct(
|
||||
public string $folder,
|
||||
public string $fileName,
|
||||
public ?string $folder,
|
||||
public ?string $fileName,
|
||||
) {
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue