Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
36 | public function updateAppScripts(int $appId, $body) : array |
||
37 | { |
||
38 | Assert::that($appId)->greaterThan(0, 'The $appId has to be positive'); |
||
39 | return (array)$this->master->doRequest( |
||
40 | 'POST', |
||
41 | sprintf( |
||
42 | '/admin/WEBAPI/Endpoints/v1_0/PluginService/{KEY}/%s/SetAppScript', |
||
43 | $appId |
||
44 | ), |
||
45 | $body |
||
46 | ); |
||
47 | } |
||
48 | |||
69 |