| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 11 | 
| Code Lines | 7 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 0 | 
| CRAP Score | 2 | 
| Changes | 0 | ||
| 1 | <?php | ||
| 17 | public function getSiteInfo(int $appId) : array | ||
| 18 |     { | ||
| 19 | Assert::that($appId)->greaterThan(0, 'The $appId has to be positive'); | ||
| 20 | return (array)$this->master->doRequest( | ||
| 21 | 'GET', | ||
| 22 | sprintf( | ||
| 23 |                 '/admin/WEBAPI/Endpoints/v1_0/PluginService/{KEY}/SiteInfo/%s', | ||
| 24 | $appId | ||
| 25 | ) | ||
| 26 | ); | ||
| 27 | } | ||
| 28 | |||
| 69 |