1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 06:14:04 +00:00

phpcsfixer: enable nullable_type_declaration_for_default_null_value

This commit is contained in:
Samuel Štancl 2024-04-09 20:55:49 +02:00
parent eecf6f21c8
commit 20c1b9a940
6 changed files with 10 additions and 9 deletions

View file

@ -42,7 +42,7 @@ class TenantAssetController implements HasMiddleware
/**
* @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
*/
public function __invoke(Request $request, string $path = null): BinaryFileResponse
public function __invoke(Request $request, ?string $path = null): BinaryFileResponse
{
$this->validatePath($path);