| Total Complexity | 5 | 
| Total Lines | 32 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 8 | class CreditmemoFixturePool  | 
            ||
| 9 | { | 
            ||
| 10 | |||
| 11 | /**  | 
            ||
| 12 | * @var CreditmemoFixture[]  | 
            ||
| 13 | */  | 
            ||
| 14 | private $creditmemoFixtures = [];  | 
            ||
| 15 | |||
| 16 | 3 | public function add(CreditmemoInterface $creditmemo, string $key = null): void  | 
            |
| 22 | }  | 
            ||
| 23 | 3 | }  | 
            |
| 24 | |||
| 25 | /**  | 
            ||
| 26 | * Returns creditmemo fixture by key, or last added if key not specified  | 
            ||
| 27 | *  | 
            ||
| 28 | * @param string|null $key  | 
            ||
| 29 | * @return CreditmemoFixture  | 
            ||
| 30 | */  | 
            ||
| 31 | 4 | public function get(string $key = null): CreditmemoFixture  | 
            |
| 43 |