Completed
Push — development ( b2c3e4...9ba8eb )
by Andrij
10:19
created
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.
application/modules/translator/lib/php-mo.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@  discard block
 block discarded – undo
70 70
 /* Parse gettext .po files. */
71 71
 /* @link http://www.gnu.org/software/gettext/manual/gettext.html#PO-Files */
72 72
 
73
+/**
74
+ * @param string $in
75
+ */
73 76
 function phpmo_parse_po_file($in) {
74 77
     // read .po file
75 78
     $fc = file_get_contents($in);
@@ -170,6 +173,9 @@  discard block
 block discarded – undo
170 173
 /* Write a GNU gettext style machine object. */
171 174
 /* @link http://www.gnu.org/software/gettext/manual/gettext.html#MO-Files */
172 175
 
176
+/**
177
+ * @param string|boolean $out
178
+ */
173 179
 function phpmo_write_mo_file($hash, $out) {
174 180
     // sort by msgid
175 181
     ksort($hash, SORT_STRING);
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/modules/xbanners/src/UrlFinder/Results/ResultInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -4,11 +4,15 @@
 block discarded – undo
4 4
 
5 5
 interface ResultInterface {
6 6
 
7
+    /**
8
+     * @return void
9
+     */
7 10
     public function __construct($groupName);
8 11
 
9 12
     /**
10 13
      * @param string $name
11 14
      * @param string $url
15
+     * @return void
12 16
      */
13 17
     public function addResult($name , $url);
14 18
 
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
@@ -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/libraries/lib_category.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -135,6 +135,8 @@
 block discarded – undo
135 135
      * Get value of category item
136 136
      *
137 137
      * @access public
138
+     * @param string $param
139
+     * @return string
138 140
      */
139 141
     public function GetValue($cat_id, $param) {
140 142
         if ($this->unsorted_arr == FALSE) {
Please login to merge, or discard this patch.
application/modules/admin/widgets_manager.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 
80 80
     /**
81 81
      * Check if widgets folder is writable
82
-     * @return null|false
82
+     * @return boolean
83 83
      */
84 84
     private function _is_writable() {
85 85
         $this->db->where('s_name', 'main');
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     }
97 97
 
98 98
     /**
99
-     * @return bool
99
+     * @return null|false
100 100
      */
101 101
     public function create() {
102 102
         if (!$this->_is_writable()) {
@@ -336,7 +336,7 @@  discard block
 block discarded – undo
336 336
      * @param integer $id
337 337
      * @param bool|FALSE $update_info
338 338
      * @param null|string $locale
339
-     * @return bool
339
+     * @return false|null
340 340
      */
341 341
     public function update_widget($id, $update_info = FALSE, $locale = NULL) {
342 342
         //cp_check_perm('widget_access_settings');
Please login to merge, or discard this patch.
application/modules/comments/commentsapi.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -609,7 +609,7 @@
 block discarded – undo
609 609
     }
610 610
 
611 611
     /**
612
-     * @param array $ids
612
+     * @param string $ids
613 613
      * @param string $module
614 614
      * @param int $status
615 615
      * @return array|void
Please login to merge, or discard this patch.