for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Inspirum\Balikobot\Model\Changelog;
use Inspirum\Arrayable\BaseCollection;
/**
* @extends \Inspirum\Arrayable\BaseCollection<string,mixed,int,\Inspirum\Balikobot\Model\Changelog\Changelog>
*/
final class DefaultChangelogCollection extends BaseCollection implements ChangelogCollection
{
public function getLatestVersion(): string
return $this->offsetGet(0)->getVersion();
}
/** @inheritDoc */
public function getChangelogs(): array
return $this->getItems();