Fix tests
This commit is contained in:
parent
da570d5167
commit
da15c45fd9
@ -15,6 +15,5 @@
|
||||
</article>
|
||||
<?php endforeach ?>
|
||||
</section>
|
||||
<pre><?= print_r($items, TRUE) ?></pre>
|
||||
<?php endif ?>
|
||||
</main>
|
||||
|
@ -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
|
||||
|
@ -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 [
|
||||
|
Loading…
Reference in New Issue
Block a user