Version 5.1 - All the GraphQL #32
@ -15,6 +15,5 @@
|
|||||||
</article>
|
</article>
|
||||||
<?php endforeach ?>
|
<?php endforeach ?>
|
||||||
</section>
|
</section>
|
||||||
<pre><?= print_r($items, TRUE) ?></pre>
|
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
</main>
|
</main>
|
||||||
|
@ -25,7 +25,7 @@ class Anime extends AbstractType {
|
|||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public string $age_rating = '';
|
public ?string $age_rating = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string
|
||||||
@ -53,9 +53,9 @@ class Anime extends AbstractType {
|
|||||||
public array $genres = [];
|
public array $genres = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var string
|
* @var string|int
|
||||||
*/
|
*/
|
||||||
public string $id = '';
|
public $id = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
|
@ -216,6 +216,7 @@ class DispatcherTest extends AnimeClientTestCase {
|
|||||||
'settings' => Controller\Settings::class,
|
'settings' => Controller\Settings::class,
|
||||||
'user' => Controller\User::class,
|
'user' => Controller\User::class,
|
||||||
'images' => Controller\Images::class,
|
'images' => Controller\Images::class,
|
||||||
|
'history' => Controller\History::class,
|
||||||
];
|
];
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
Loading…
Reference in New Issue
Block a user