Completed
Push — master ( 6a21b5...b393f5 )
by Matthew
02:21
created
src/Api.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Resources/Comment.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 topicsEndpoint($id = null)
Please login to merge, or discard this patch.
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.
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/_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.