| Conditions | 3 |
| Paths | 2 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 81 | public function getDatabaseFieldName(string $tableName, string $propertyName): string |
||
| 82 | { |
||
| 83 | if (isset($this->coreCamelCaseField[$tableName]) && \in_array($propertyName, $this->coreCamelCaseField[$tableName], true)) { |
||
| 84 | return $propertyName; |
||
| 85 | } |
||
| 86 | |||
| 87 | return GeneralUtility::camelCaseToLowerCaseUnderscored($propertyName); |
||
| 88 | } |
||
| 89 | } |
||
| 90 |