|
@@ -265,7 +265,7 @@ |
|
|
block discarded – undo |
|
265
|
265
|
public function __call(string $method, array $arguments) |
|
266
|
266
|
{ |
|
267
|
267
|
if (!in_array($method = strtoupper($method), ['AVG', 'MIN', 'MAX', 'SUM'])) { |
|
268
|
|
- throw new BuilderException("Unknown method '{$method}' in '" . get_class($this) . "'"); |
|
|
268
|
+ throw new BuilderException("Unknown method '{$method}' in '".get_class($this)."'"); |
|
269
|
269
|
} |
|
270
|
270
|
|
|
271
|
271
|
if (!isset($arguments[0]) || count($arguments) > 1) { |
Please login to merge, or discard this patch.