| Conditions | 4 |
| Paths | 3 |
| Total Lines | 15 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function columnName( |
||
| 28 | string $colName, |
||
| 29 | string $tableName, |
||
| 30 | bool $isFunction, |
||
| 31 | bool $isJoker |
||
| 32 | ): string { |
||
| 33 | if ($this->obtainRequestType() === 'update') { |
||
| 34 | if ($isFunction === true || $isJoker === true) { |
||
| 35 | return $colName; |
||
| 36 | } else { |
||
| 37 | return '`'.$colName.'`'; |
||
| 38 | } |
||
| 39 | } |
||
| 40 | |||
| 41 | return parent::columnName($colName, $tableName, $isFunction, $isJoker); |
||
| 42 | } |
||
| 44 |