Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
56 | public function deleteAppScripts(int $appId, int $pageType) : bool |
||
57 | { |
||
58 | Assert::that($appId)->greaterThan(0, 'The $appId has to be positive'); |
||
59 | return (bool)$this->master->doRequest( |
||
60 | 'DELETE', |
||
61 | sprintf( |
||
62 | '/admin/WEBAPI/Endpoints/v1_0/PluginService/{KEY}/DeleteAppScriptForPage?appId=%s&pageType=%s', |
||
63 | $appId, |
||
64 | $pageType |
||
65 | ) |
||
66 | ); |
||
67 | } |
||
68 | } |
||
69 |