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