| @@ 31-33 (lines=3) @@ | ||
| 28 | return call_user_func_array([$this, 'mappedQuery'], [$query, $method, $args]); |
|
| 29 | } |
|
| 30 | ||
| 31 | if (in_array($method, ['select', 'addSelect'])) { |
|
| 32 | call_user_func_array([$this, 'mappedSelect'], [$query, $args]); |
|
| 33 | } |
|
| 34 | ||
| 35 | return $next($query, $bag); |
|
| 36 | }; |
|
| @@ 149-151 (lines=3) @@ | ||
| 146 | return call_user_func_array([$this, 'metaQuery'], [$query, $method, $args]); |
|
| 147 | } |
|
| 148 | ||
| 149 | if (in_array($method, ['select', 'addSelect'])) { |
|
| 150 | call_user_func_array([$this, 'metaSelect'], [$query, $args]); |
|
| 151 | } |
|
| 152 | ||
| 153 | return $next($query, $bag); |
|
| 154 | }; |
|