Completed
Pull Request — development (#107)
by
unknown
09:56
created
application/helpers/cache_helper.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@  discard block
 block discarded – undo
11 11
 
12 12
     public static $duration = false;
13 13
 
14
+    /**
15
+     * @param boolean $duration
16
+     */
14 17
     public function init($key, $duration) {
15 18
         $ci = get_instance();
16 19
 
@@ -24,6 +27,9 @@  discard block
 block discarded – undo
24 27
         return $data;
25 28
     }
26 29
 
30
+    /**
31
+     * @param string $content
32
+     */
27 33
     public function storeCache($content) {
28 34
         $ci = get_instance();
29 35
 
Please login to merge, or discard this patch.
application/libraries/native_session.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -110,6 +110,7 @@
 block discarded – undo
110 110
 
111 111
     /**
112 112
      * Reads given session attribute value
113
+     * @param string $item
113 114
      */
114 115
     public function userdata($item) {
115 116
 
Please login to merge, or discard this patch.
application/modules/mod_stats/interfaces/FileImport.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -6,6 +6,7 @@
 block discarded – undo
6 6
      * Include file (or all recursively files in dir)
7 7
      * The starting directory is the directory where the class is (witch using trait)
8 8
      * @param string $filePath
9
+     * @return void
9 10
      */
10 11
     public function import($filePath);
11 12
 
Please login to merge, or discard this patch.
application/modules/mod_stats/models/categories_model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     /**
64 64
      * Prepare array with child categorie's ids
65 65
      * @param array $dataArray
66
-     * @return boolean|array
66
+     * @return false|string
67 67
      */
68 68
     public function prepareArray($dataArray = null) {
69 69
         if ($dataArray == null) {
Please login to merge, or discard this patch.
application/modules/sample_module/sample_module.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,6 @@
 block discarded – undo
69 69
 
70 70
     /**
71 71
      * Метод обработчик
72
-     * @param type $commentId <p>ID коментария который был только что создан.</p>
73 72
      */
74 73
     public static function handler(array $param) {
75 74
         $instance = new Sample_Module();
Please login to merge, or discard this patch.
application/modules/xbanners/src/Entities/BannerEffects.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
     }
179 179
 
180 180
     /**
181
-     * @return array
181
+     * @return string[]
182 182
      */
183 183
     public function getEasingTypes() {
184 184
         return [
Please login to merge, or discard this patch.
application/modules/xbanners/src/Installers/BannersModuleManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@
 block discarded – undo
150 150
     /**
151 151
      * Run self::getQueries() with DROP_PATTERN
152 152
      *
153
-     * @return array
153
+     * @return string[]
154 154
      */
155 155
     protected function getDropQueries() {
156 156
 
Please login to merge, or discard this patch.
application/helpers/rules_helper.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@  discard block
 block discarded – undo
7 7
 if (!function_exists('admin_or_redirect')) {
8 8
 
9 9
     /**
10
-     * @return bool
10
+     * @return boolean|null
11 11
      */
12 12
     function admin_or_redirect() {
13 13
         if (PHP_SAPI == 'cli') {
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
 
44 44
     /**
45 45
      * @param string $perm
46
-     * @return bool
46
+     * @return boolean|null
47 47
      */
48 48
     function cp_check_perm($perm) {
49 49
         $ci = & get_instance();
Please login to merge, or discard this patch.
application/modules/admin/pages.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -621,7 +621,7 @@
 block discarded – undo
621 621
      * @access public
622 622
      * @param string $page_id
623 623
      * @param bool $show_messages
624
-     * @return bool
624
+     * @return boolean|null
625 625
      */
626 626
     public function delete($page_id, $show_messages = TRUE) {
627 627
 
Please login to merge, or discard this patch.