| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function addResolver(ReferenceResolverInterface $resolver) |
||
| 11 | { |
||
| 12 | if (!$resolver instanceof RegexpBasedResolverInterface) { |
||
| 13 | throw new MigrationBundleException("Can not add resolver of class " . get_class($resolver) . " to a chain regexp resolver"); |
||
| 14 | } |
||
| 15 | |||
| 16 | parent::addResolver($resolver); |
||
| 17 | } |
||
| 36 |