Skip to content

Commit

Permalink
fix: nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
phpsa authored Jul 4, 2022
1 parent 35f4ced commit 4c1d0a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public function getFolderTree(): array
* @return array
* @noinspection PhpUnused (Used in settings template)
*/
public function getMaxImageDimension(int $folderId): array
public function getMaxImageDimension(?int $folderId): array
{
if ($folderId === null) {
return [null, null];
Expand Down

0 comments on commit 4c1d0a5

Please sign in to comment.