Browse Source

Fix anime collection error

pull/36/head
Timothy Warren 1 year ago
parent
commit
2a8e6aa3ed
  1. 4
      src/AnimeClient/Controller/AnimeCollection.php

4
src/AnimeClient/Controller/AnimeCollection.php

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

Loading…
Cancel
Save