src/Mapper/ResourceArray.php
public function map($resource, array $data): ResourceClass
    {
        return new ResourceClass(
            \array_map(function ($item) {
                return $this->builder->build($item);
            }, $data['items']),
            $data['total'],
            $data['limit'],
            $data['skip']
        );
    }
public function map($resource, array $data): ResourceClass
    {
        return new ResourceClass(
            \array_map(function ($item) {
                return $this->builder->build($item);
            }, $data['items']),
            $data['total'],
            $data['limit'],
            $data['skip']
        );
    }
{@inheritdoc}