Completed
Push — master ( df92f9...26fa31 )
by
unknown
01:35
created
include/functions.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
  * @since        1.0
22 22
  */
23 23
 
24
-use Xmf\FilterInput;
25 24
 use XoopsModules\Smallworld;
26 25
 use XoopsModules\Smallworld\Constants;
27 26
 use XoopsModules\Smallworld\Helper;
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
  * If array check for magicQuotes.
54 54
  * Pass string to XoopsModules\Smallworld\MyFunctions\cleanupString function
55 55
  *
56
- * @param array|string $text
56
+ * @param string $text
57 57
  * @return array|mixed
58 58
  */
59 59
 function smallworld_cleanup($text)
Please login to merge, or discard this patch.
recentactivities.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
 
24 24
 use Xmf\Request;
25 25
 use XoopsModules\Smallworld;
26
-use XoopsModules\Smallworld\Constants;
27 26
 
28 27
 require_once __DIR__ . '/header.php';
29 28
 
Please login to merge, or discard this patch.
class/SwDatabase.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     /**
71 71
      * getSchoolToDiv function
72 72
      *
73
-     * @param int $userId smallworld `userid`
73
+     * @param integer $id
74 74
      * @return array
75 75
      */
76 76
     function getSchoolToDiv($id) 
@@ -174,7 +174,7 @@  discard block
 block discarded – undo
174 174
 
175 175
     /**
176 176
      * saveImage function
177
-     * @param $values
177
+     * @param string $values
178 178
      */
179 179
     public function saveImage($values)
180 180
     {
@@ -574,7 +574,7 @@  discard block
 block discarded – undo
574 574
      * deleteWallComment function
575 575
      * - Delete Comments
576 576
      * @param int $smallworld_com_id
577
-     * @return true
577
+     * @return boolean
578 578
      */
579 579
     public function deleteWallComment($smallworld_com_id)
580 580
     {
@@ -684,8 +684,8 @@  discard block
 block discarded – undo
684 684
      *
685 685
      * @param int         $userid
686 686
      * @param string|bool $directory
687
-     * @param bool|int    $empty
688
-     * @return bool
687
+     * @param boolean    $empty
688
+     * @return boolean|null
689 689
      */
690 690
     public function smallworld_remDir($userid, $directory, $empty = false)
691 691
     {
@@ -727,7 +727,7 @@  discard block
 block discarded – undo
727 727
      * Update private settings
728 728
      *
729 729
      * @param mixed $id user's id
730
-     * @param mixed $posts
730
+     * @param string $posts
731 731
      * @return string serialized settings for this id
732 732
      */
733 733
     public function saveSettings($id, $posts)
Please login to merge, or discard this patch.
editprofile.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
  * @author       Michael Albertsen (http://culex.dk) <[email protected]>
21 21
  */
22 22
 
23
-use Xmf\Request;
24 23
 use XoopsModules\Smallworld;
25 24
 
26 25
 require_once __DIR__ . '/header.php';
Please login to merge, or discard this patch.
submit.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -20,9 +20,7 @@
 block discarded – undo
20 20
  * @author       Michael Albertsen (http://culex.dk) <[email protected]>
21 21
  */
22 22
 
23
-use Xmf\Request;
24 23
 use XoopsModules\Smallworld;
25
-use XoopsModules\Smallworld\Constants;
26 24
 require_once __DIR__ . '/header.php';
27 25
 
28 26
 /** @var \XoopsModules\Smallworld\Helper $helper */
Please login to merge, or discard this patch.