Fix anime collection error

This commit is contained in:
Timothy Warren 2020-12-11 10:15:24 -05:00
parent 05c7fa1a3e
commit 2a8e6aa3ed

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',