<?php

declare(strict_types=1);

namespace KupShop\GraphQLBundle\ApiAdmin\Types\Collection;

use KupShop\GraphQLBundle\ApiAdmin\Types\Charge;
use KupShop\GraphQLBundle\ApiShared\Types\Collection\CollectionBase;
use TheCodingMachine\GraphQLite\Annotations\Field;
use TheCodingMachine\GraphQLite\Annotations\Type;

#[Type]
class ChargeCollection extends CollectionBase
{
    /** @return Charge[] */
    #[Field]
    public function getItems(): array
    {
        return $this->items;
    }
}
