Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public function withRepository( |
||
21 | SapiVersion $sapiVersion, |
||
22 | SavedSearchRepositoryInterface $savedSearchRepository |
||
23 | ): SavedSearchReadRepositoryCollection { |
||
24 | $c = clone $this; |
||
25 | $c->savedSearchRepositories[$sapiVersion->toNative()] = $savedSearchRepository; |
||
26 | return $c; |
||
27 | } |
||
28 | |||
42 |