Lines 0.00% 0 / 1
Functions and Methods 0.00% 0 / 1
Classes and Traits 0.00% 0 / 1
Name Lines Functions and Methods CRAP Classes and Traits
RecordedExposureCollection 0.00% 0 / 1 0.00% 0 / 1 2 0.00% 0 / 1
 withRecordedExposure 0.00% 0 / 1 0.00% 0 / 1 2
1<?php
2
3declare(strict_types=1);
4
5namespace Stewart\Testing\Exposure\Collection;
6
7use Stewart\Contracts\Collection\ListCollection;
8use Stewart\Testing\Exposure\RecordedExposure;
9
10/** @extends ListCollection<RecordedExposure> */
11final readonly class RecordedExposureCollection extends ListCollection
12{
13    public function withRecordedExposure(RecordedExposure $exposure): self
14    {
15        return $this->withAppendedElement($exposure);
16    }
17}