Version 5.1 - All the GraphQL #32
@ -66,7 +66,7 @@ class FriendTestClass extends FriendParentTestClass {
|
|||||||
|
|
||||||
class TestTransformer extends AbstractTransformer {
|
class TestTransformer extends AbstractTransformer {
|
||||||
|
|
||||||
public function transform($item)
|
public function transform(array|object $item): array
|
||||||
{
|
{
|
||||||
$out = [];
|
$out = [];
|
||||||
$genre_list = (array) $item;
|
$genre_list = (array) $item;
|
||||||
|
Loading…
Reference in New Issue
Block a user