| Conditions | 2 |
| Paths | 2 |
| Total Lines | 15 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 52 | public function merge(Configuration $config) |
||
| 53 | { |
||
| 54 | $matcherRegistrars = array_merge( |
||
| 55 | $this->matcherRegistrars, |
||
| 56 | $config->getMatcherRegistrars() |
||
| 57 | ); |
||
| 58 | |||
| 59 | $reporter = $config->getResultReporter(); |
||
| 60 | |||
| 61 | if ($reporter === null) { |
||
| 62 | $reporter = $this->resultReporter; |
||
| 63 | } |
||
| 64 | |||
| 65 | return new RuntimeConfiguration($matcherRegistrars, $reporter); |
||
| 66 | } |
||
| 67 | } |
||
| 68 |