@@ -152,7 +152,7 @@ |
||
| 152 | 152 | * Internal method for handling all requests |
| 153 | 153 | * |
| 154 | 154 | * @internal |
| 155 | - * @param $method |
|
| 155 | + * @param string $method |
|
| 156 | 156 | * @param $endpoint |
| 157 | 157 | * @param array|null $data |
| 158 | 158 | * @param array|null $query |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | 41 | * Creates the forums endpoint |
| 42 | - * @param null $id |
|
| 42 | + * @param string $id |
|
| 43 | 43 | * @return string |
| 44 | 44 | */ |
| 45 | 45 | protected function topicsEndpoint($id = null) |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * Creates the category endpoint (for creating forums) |
| 44 | 44 | * |
| 45 | - * @param null $id |
|
| 45 | + * @param integer $id |
|
| 46 | 46 | * @return string |
| 47 | 47 | */ |
| 48 | 48 | private function categoryEndpoint($id = null) |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | 41 | * Creates the forums endpoint |
| 42 | - * @param null $id |
|
| 42 | + * @param string $id |
|
| 43 | 43 | * @return string |
| 44 | 44 | */ |
| 45 | 45 | protected function forumsEndpoint($id = null) |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | { |
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | - * @param null $end string |
|
| 15 | + * @param string $end string |
|
| 16 | 16 | * @return string |
| 17 | 17 | */ |
| 18 | 18 | abstract protected function endpoint($end = null); |