@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | /** |
| 16 | 16 | * Base url |
| 17 | 17 | */ |
| 18 | - const APIURL = "http://sc-api.com"; |
|
| 18 | + const APIURL = "http://sc-api.com"; |
|
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * @var Client |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | */ |
| 45 | 45 | public function getResult($params = []) |
| 46 | 46 | { |
| 47 | - $request = new Request("GET", '?'.http_build_query($params)); |
|
| 47 | + $request = new Request("GET", '?' . http_build_query($params)); |
|
| 48 | 48 | return $this->client->send($request); |
| 49 | 49 | } |
| 50 | 50 | } |
| 51 | 51 | \ No newline at end of file |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | public $thread_id; |
| 13 | 13 | public $thread_replies; |
| 14 | 14 | public $thread_views; |
| 15 | - public $original_poster=[]; |
|
| 15 | + public $original_poster = []; |
|
| 16 | 16 | public $original_post = []; |
| 17 | 17 | public $recent_poster = []; |
| 18 | 18 | public $recent_post; |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | /** |
| 54 | - * @param $id |
|
| 54 | + * @param string $id |
|
| 55 | 55 | * @param bool $cache |
| 56 | 56 | * @param bool $raw |
| 57 | 57 | * |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | - * @param $id |
|
| 66 | + * @param string $id |
|
| 67 | 67 | * @param bool $cache |
| 68 | 68 | * @param bool $raw |
| 69 | 69 | * |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | */ |
| 39 | 39 | protected static function find($id, $action = Organisations::ORG, $cache = false, $raw = false) |
| 40 | 40 | { |
| 41 | - $cache = ($cache === true)? "cache" : "live"; |
|
| 41 | + $cache = ($cache === true) ? "cache" : "live"; |
|
| 42 | 42 | |
| 43 | 43 | $params = [ |
| 44 | 44 | 'api_source' => $cache, |