diff --git a/app/views/history/anime.php b/app/views/history/anime.php index 826e267e..4d12b7bf 100644 --- a/app/views/history/anime.php +++ b/app/views/history/anime.php @@ -15,6 +15,5 @@ -
= print_r($items, TRUE) ?>diff --git a/src/AnimeClient/Types/Anime.php b/src/AnimeClient/Types/Anime.php index c1c95710..b848669c 100644 --- a/src/AnimeClient/Types/Anime.php +++ b/src/AnimeClient/Types/Anime.php @@ -25,7 +25,7 @@ class Anime extends AbstractType { /** * @var string */ - public string $age_rating = ''; + public ?string $age_rating = ''; /** * @var string @@ -53,9 +53,9 @@ class Anime extends AbstractType { public array $genres = []; /** - * @var string + * @var string|int */ - public string $id = ''; + public $id = ''; /** * @var array diff --git a/tests/AnimeClient/DispatcherTest.php b/tests/AnimeClient/DispatcherTest.php index 3f16fd78..91832a1d 100644 --- a/tests/AnimeClient/DispatcherTest.php +++ b/tests/AnimeClient/DispatcherTest.php @@ -216,6 +216,7 @@ class DispatcherTest extends AnimeClientTestCase { 'settings' => Controller\Settings::class, 'user' => Controller\User::class, 'images' => Controller\Images::class, + 'history' => Controller\History::class, ]; return [