Completed
Push — master ( a4e09c...825da9 )
by Michael
01:51
created
class/InstructionHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 class InstructionHandler extends \XoopsPersistableObjectHandler
16 16
 {
17 17
     /**
18
-     * @param null|mixed $db
18
+     * @param null|\XoopsDatabase $db
19 19
      */
20 20
     public function __construct(\XoopsDatabase $db = null)
21 21
     {
Please login to merge, or discard this patch.
class/Tree.php 1 patch
Doc Comments   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@  discard block
 block discarded – undo
23 23
     //    }
24 24
 
25 25
     /**
26
-     * @param        $key
27
-     * @param        $ret
28
-     * @param        $prefix_orig
26
+     * @param        integer $key
27
+     * @param        string $ret
28
+     * @param        string $prefix_orig
29 29
      * @param        $objInsinstr
30 30
      * @param string $class
31 31
      * @param string $prefix_curr
@@ -140,9 +140,9 @@  discard block
 block discarded – undo
140 140
     // ==================================
141 141
 
142 142
     /**
143
-     * @param        $key
144
-     * @param        $ret
145
-     * @param        $prefix_orig
143
+     * @param        integer $key
144
+     * @param        string $ret
145
+     * @param        string $prefix_orig
146 146
      * @param array  $cidinstrids
147 147
      * @param string $class
148 148
      * @param string $prefix_curr
@@ -239,8 +239,8 @@  discard block
 block discarded – undo
239 239
     // ======================================
240 240
 
241 241
     /**
242
-     * @param       $key
243
-     * @param       $ret
242
+     * @param       integer $key
243
+     * @param       string $ret
244 244
      * @param int   $currpageid
245 245
      * @param array $lastpageids
246 246
      * @param int   $level
@@ -350,7 +350,7 @@  discard block
 block discarded – undo
350 350
     // Находим предыдущую и следующую страницы.
351 351
     // Находим последнии страницы на каждом уровне.
352 352
     /**
353
-     * @param       $key
353
+     * @param       integer $key
354 354
      * @param int   $currpageid
355 355
      * @param array $prevpages
356 356
      * @param array $nextpages
Please login to merge, or discard this patch.
class/Utility.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,8 +46,8 @@
 block discarded – undo
46 46
     // Редактор
47 47
 
48 48
     /**
49
-     * @param        $caption
50
-     * @param        $name
49
+     * @param        string $caption
50
+     * @param        string $name
51 51
      * @param string $value
52 52
      * @return bool|\XoopsFormEditor
53 53
      */
Please login to merge, or discard this patch.
class/common/FilesManagement.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,7 @@
 block discarded – undo
35 35
 
36 36
                 file_put_contents($folder . '/index.html', '<script>history.go(-1);</script>');
37 37
             }
38
-        }
39
-        catch (\Exception $e) {
38
+        } catch (\Exception $e) {
40 39
             echo 'Caught exception: ', $e->getMessage(), "\n", '<br>';
41 40
         }
42 41
     }
Please login to merge, or discard this patch.
include/plugin.tag.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,8 @@  discard block
 block discarded – undo
60 60
                . "                WHERE {$itemHandler->table}.status > 0"
61 61
                . '            ) '
62 62
                . '        )';
63
-    else:
63
+    else {
64
+    	:
64 65
         $sql = "    DELETE {$linkHandler->table} FROM {$linkHandler->table}"
65 66
                . "    LEFT JOIN {$itemHandler->table} AS aa ON {$linkHandler->table}.tag_itemid = aa.{$itemHandler->keyName} "
66 67
                . '    WHERE '
@@ -68,7 +69,8 @@  discard block
 block discarded – undo
68 69
                . '        AND '
69 70
                . "        ( aa.{$itemHandler->keyName} IS NULL"
70 71
                . '            OR aa.status < 1'
71
-               . '        )';
72
+               . '        )';
73
+    }
72 74
     endif;
73 75
     if (!$result = $linkHandler->db->queryF($sql)) {
74 76
         //xoops_error($linkHandler->db->error());
Please login to merge, or discard this patch.