for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace Stratadox\CardGame\Match;
use Stratadox\ImmutableCollection\ImmutableCollection;
final class Decks extends ImmutableCollection
{
public function __construct(Deck ...$decks)
parent::__construct(...$decks);
}
public function offsetGet($position): Deck
return parent::offsetGet($position);
/** @codeCoverageIgnore only used for type hinting */
public function current(): Deck
return parent::current();