Fix anime collection error

This commit is contained in:
Timothy Warren 2020-12-11 10:15:24 -05:00
parent 6e3a70f9f6
commit 31ed9d11ab

View File

@ -88,13 +88,13 @@ final class AnimeCollection extends BaseController {
/**
* Show the anime collection page
*
* @param string $view
* @param string|null $view
* @throws ContainerException
* @throws NotFoundException
* @throws InvalidArgumentException
* @return void
*/
public function view(string $view = ''): void
public function view(?string $view = ''): void
{
$viewMap = [
'' => 'cover',