| Conditions | 3 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 61 | public function execute($args = null) |
||
| 62 | { |
||
| 63 | $this->db->log($this->queryString); |
||
| 64 | if ($result = !parent::execute($args)) { |
||
| 65 | $info = $this->errorInfo(); |
||
| 66 | if ($info[0] == 0) { |
||
| 67 | $argc = count($args); |
||
|
|
|||
| 68 | throw new ArgumentCountError("Too many arguments given ({$argc})"); |
||
| 69 | } |
||
| 70 | } |
||
| 71 | return $result; |
||
| 72 | } |
||
| 84 |