Completed
Pull Request — development (#100)
by
unknown
08:09
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/helpers/dx_captcha_helper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -164,6 +164,9 @@
 block discarded – undo
164 164
          * */
165 165
         if (!function_exists('color')) {
166 166
 
167
+            /**
168
+             * @param string $type
169
+             */
167 170
             function color($type) {
168 171
                 switch ($type) {
169 172
                     case "bg":
Please login to merge, or discard this patch.
application/helpers/recaptcha_helper.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -207,6 +207,9 @@  discard block
 block discarded – undo
207 207
 
208 208
 /* Mailhide related code */
209 209
 
210
+/**
211
+ * @param string $ky
212
+ */
210 213
 function _recaptcha_aes_encrypt($val, $ky) {
211 214
     if (!function_exists("mcrypt_encrypt")) {
212 215
         die("To use reCAPTCHA Mailhide, you need to have the mcrypt php module installed.");
@@ -217,6 +220,9 @@  discard block
 block discarded – undo
217 220
     return mcrypt_encrypt($enc, $ky, $val, $mode, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0");
218 221
 }
219 222
 
223
+/**
224
+ * @param null|string $x
225
+ */
220 226
 function _recaptcha_mailhide_urlbase64($x) {
221 227
     return strtr(base64_encode($x), '+/', '-_');
222 228
 }
Please login to merge, or discard this patch.
application/libraries/mem_cache.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@  discard block
 block discarded – undo
47 47
         }
48 48
     }
49 49
 
50
+    /**
51
+     * @param string $key
52
+     */
50 53
     public function _fetch($key) {
51 54
 
52 55
         $key = $this->generatekey($key);
@@ -145,7 +148,7 @@  discard block
 block discarded – undo
145 148
      *
146 149
      * @param string $key - cache item key
147 150
      *
148
-     * @return bool
151
+     * @return boolean|null
149 152
      */
150 153
     public function delete($key) {
151 154
 
@@ -155,7 +158,7 @@  discard block
 block discarded – undo
155 158
     /**
156 159
      * Delete Cached Function
157 160
      *
158
-     * @return bool
161
+     * @return boolean|null
159 162
      */
160 163
     public function delete_func($object, $func, $args = array()) {
161 164
 
@@ -166,7 +169,7 @@  discard block
 block discarded – undo
166 169
     /**
167 170
      * Delete All Cache Items
168 171
      *
169
-     * @return bool
172
+     * @return boolean|null
170 173
      * @access public
171 174
      */
172 175
     public function delete_all() {
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/socauth/models/socauth_model.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@
 block discarded – undo
21 21
 
22 22
     /**
23 23
      * Create cosial link to user profile
24
-     * @param type $soc
25
-     * @param type $socId
24
+     * @param string $soc
25
+     * @param string $socId
26 26
      */
27 27
     public function setLink($soc, $socId) {
28 28
         $this->db->set('socialId', $socId);
Please login to merge, or discard this patch.