| @@ -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); | 
| @@ -28,7 +28,7 @@ | ||
| 28 | 28 | * | 
| 29 | 29 | * @var string | 
| 30 | 30 | */ | 
| 31 | - protected $endpoint ='/discussions/comments' ; | |
| 31 | + protected $endpoint = '/discussions/comments'; | |
| 32 | 32 | |
| 33 | 33 | /** | 
| 34 | 34 | * The forums resource endpoint | 
| @@ -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) | 
| @@ -273,7 +273,7 @@ | ||
| 273 | 273 | public function monitorForum($id, $userId) | 
| 274 | 274 |      { | 
| 275 | 275 | $data = [ | 
| 276 | - 'user_id' => $userId | |
| 276 | + 'user_id' => $userId | |
| 277 | 277 | ]; | 
| 278 | 278 | |
| 279 | 279 |          return $this->api()->request('POST', $this->forumsEndpoint($id . '/follow'), $data); | 
| @@ -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) | 
| @@ -8,7 +8,6 @@ | ||
| 8 | 8 | |
| 9 | 9 | namespace Freshdesk\Resources; | 
| 10 | 10 | use Freshdesk\Resources\Traits\DeleteTrait; | 
| 11 | -use Freshdesk\Resources\Traits\MonitorTrait; | |
| 12 | 11 | use Freshdesk\Resources\Traits\UpdateTrait; | 
| 13 | 12 | use Freshdesk\Resources\Traits\ViewTrait; | 
| 14 | 13 | |