Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
48 | public function setExtractQuery($extractQuery): DbExtractorAbstract |
||
49 | { |
||
50 | if (!($extractQuery instanceof Builder)) { |
||
|
|||
51 | throw new YaEtlException('Argument 1 passed to ' . __METHOD__ . ' must be an instance of ' . Builder::class . ', ' . \gettype($extractQuery) . ' given'); |
||
52 | } |
||
53 | |||
54 | return parent::setExtractQuery($extractQuery->toBase()); |
||
55 | } |
||
57 |