| Total Complexity | 4 |
| Total Lines | 39 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | trait ApiDataTrait |
||
| 10 | { |
||
| 11 | protected string $problemBaseUrl; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @SuppressWarnings(PHPMD.UnusedFormalParameter) |
||
| 15 | * |
||
| 16 | * @param array $data |
||
| 17 | * |
||
| 18 | * @return UploadedFile[] |
||
| 19 | */ |
||
| 20 | protected function getFileData(array $data): array |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @return array |
||
| 27 | */ |
||
| 28 | public function getCreateData(): array |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return array |
||
| 35 | */ |
||
| 36 | public function getUpdateData(): array |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @return array |
||
| 43 | */ |
||
| 44 | public function getSharedData(): array |
||
| 50 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.