Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
31 | 1 | public function addDocument($token, $installation, $application, $category, $filename, $path) |
|
32 | { |
||
33 | 1 | return $this->postDocument( |
|
34 | 1 | '/v4/installations/' . $installation . '/applications/' . $application . '/supporting-documents', |
|
35 | [ |
||
36 | 1 | 'category' => $category, |
|
37 | 1 | 'filename' => $filename, |
|
38 | 1 | 'path' => $path, |
|
39 | 1 | ], |
|
40 | 1 | $token, |
|
41 | 'Supporting documents' |
||
42 | 1 | ); |
|
45 |