| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | private function checkValueIsValidOperationObject($value): void |
||
| 36 | { |
||
| 37 | if ($this->isNotOperationObject($value)) { |
||
| 38 | throw new UnsupportedBatchOperationException( |
||
| 39 | sprintf( |
||
| 40 | 'Given batch operation of class `%s` should implement %s interface', |
||
| 41 | \get_class($value), |
||
| 42 | OperationInterface::class) |
||
| 43 | ); |
||
| 52 |