Completed
Push — master ( af0e83...609b51 )
by Matthew
02:15
created
src/Resources/Forum.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Resources/Topic.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Resources/Traits/MonitorTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Resources/Comment.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Resources/_Discussion.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -273,7 +273,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Resources/TimeEntry.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.