| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function resolve(array $patches, array $repositoryState) |
||
| 27 | { |
||
| 28 | $patchDataUtils = $this->patchDataUtils; |
||
| 29 | |||
| 30 | return $this->patchListUtils->compareLists( |
||
| 31 | $patches, |
||
| 32 | $repositoryState, |
||
| 33 | function ($packagePatches, $packageState) use ($patchDataUtils) { |
||
| 34 | return $patchDataUtils->shouldReinstall( |
||
| 35 | $packageState, |
||
| 36 | $packagePatches |
||
| 37 | ); |
||
| 42 |