| Conditions | 2 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function render($status, $remote = FALSE) |
||
|
|
|||
| 27 | { |
||
| 28 | return $status; |
||
| 29 | |||
| 30 | if ($remote) { |
||
| 31 | $key = 'manager.document.remoteStatus.'.strtolower($status); |
||
| 32 | } else { |
||
| 33 | $key = 'manager.document.localStatus.'.strtolower($status); |
||
| 34 | } |
||
| 35 | return \TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate($key, 'dpf', $arguments = null); |
||
| 36 | } |
||
| 38 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.