<?php

namespace CultuurNet\UDB3\Offer;

use TwoDotsTwice\Collection\AbstractCollection;

class OfferIdentifierCollection extends AbstractCollection
{
    protected function getValidObjectType()
    {
        return OfferIdentifierInterface::class;
    }
}

<?php

namespace CultuurNet\UDB3\Offer;

use TwoDotsTwice\Collection\AbstractCollection;

/**
 * @method OfferIdentifierInterface[] toArray()
 */
class OfferIdentifierCollection extends AbstractCollection
{
    protected function getValidObjectType()
    {
        return OfferIdentifierInterface::class;
    }
}

Document return type of toArray().
III-680: Document return type of toArray().
