Completed
Pull Request — master (#5)
by Michael
01:57
created
class/DoSync.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -90,8 +90,8 @@  discard block
 block discarded – undo
90 90
      * - Remove user image dir in uploads.
91 91
      * @param int         $userid
92 92
      * @param string|bool $directory
93
-     * @param bool|int    $empty
94
-     * @return bool
93
+     * @param boolean    $empty
94
+     * @return boolean|null
95 95
      */
96 96
     public function smallworld_remDir($userid, $directory, $empty = false)
97 97
     {
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      * SmallworldDeleteDirectory function
132 132
      * - Delete images from users on delete
133 133
      * @param int $userid
134
-     * @return true
134
+     * @return boolean
135 135
      */
136 136
     public function SmallworldDeleteDirectory($userid)
137 137
     {
Please login to merge, or discard this patch.
class/SwDatabase.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 
153 153
     /**
154 154
      * saveImage function
155
-     * @param $values
155
+     * @param string $values
156 156
      */
157 157
     public function saveImage($values)
158 158
     {
@@ -451,7 +451,7 @@  discard block
 block discarded – undo
451 451
      * deleteWallMsg function
452 452
      * @param int $id
453 453
      * @param int $smallworld_msg_id
454
-     * @return true
454
+     * @return boolean
455 455
      */
456 456
     public function deleteWallMsg($id, $smallworld_msg_id)
457 457
     {
@@ -471,7 +471,7 @@  discard block
 block discarded – undo
471 471
      * deleteWallComment function
472 472
      * - Delete Comments
473 473
      * @param int $smallworld_com_id
474
-     * @return true
474
+     * @return boolean
475 475
      */
476 476
     public function deleteWallComment($smallworld_com_id)
477 477
     {
@@ -548,7 +548,7 @@  discard block
 block discarded – undo
548 548
      * SmallworldDeleteDirectory function
549 549
      * - Delete images from users on delete
550 550
      * @param int $userid
551
-     * @return true
551
+     * @return boolean
552 552
      */
553 553
     public function SmallworldDeleteDirectory($userid)
554 554
     {
@@ -579,8 +579,8 @@  discard block
 block discarded – undo
579 579
      * - Remove user image dir in uploads.
580 580
      * @param int         $userid
581 581
      * @param string|bool $directory
582
-     * @param bool|int    $empty
583
-     * @return bool
582
+     * @param boolean    $empty
583
+     * @return boolean|null
584 584
      */
585 585
     public function smallworld_remDir($userid, $directory, $empty = false)
586 586
     {
@@ -619,7 +619,7 @@  discard block
 block discarded – undo
619 619
     /**
620 620
      * Update private settings
621 621
      * @param mixed $id
622
-     * @param mixed $posts
622
+     * @param string $posts
623 623
      */
624 624
     public function saveSettings($id, $posts)
625 625
     {
Please login to merge, or discard this patch.