Completed
Pull Request — development (#97)
by
unknown
21:39
created
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/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.
application/modules/menu/menu.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -320,7 +320,7 @@  discard block
 block discarded – undo
320 320
      * @param integer $index номер элемента для натягивания шаблона
321 321
      * @param string $wrapper натянутые шаблоны на всех всех наследников
322 322
      * @access private
323
-     * @return TRUE
323
+     * @return boolean
324 324
      */
325 325
     private function _prepare_item_tpl($index = 0, $wrapper = FALSE) {
326 326
         if ($wrapper == TRUE) {
@@ -355,9 +355,8 @@  discard block
 block discarded – undo
355 355
     /**
356 356
      * Find sub menus
357 357
      *
358
-     * @param integer $id
359 358
      * @access public
360
-     * @return mixed
359
+     * @return string|false
361 360
      */
362 361
     private function _get_real_tpl($index = 0, $mode = "item") {
363 362
         if ($mode == "item") {
Please login to merge, or discard this patch.
application/modules/wishlist/classes/BaseWishlist.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * add item to wishlist
45
-     * @param $varId
45
+     * @param integer $varId
46 46
      * @param $listId
47 47
      * @param $listName
48 48
      * @return mixed
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
 
65 65
     /**
66 66
      * move item
67
-     * @param $varId
68
-     * @param $wish_list_id
67
+     * @param integer $varId
68
+     * @param integer $wish_list_id
69 69
      * @return mixed
70 70
      */
71 71
     public function moveItem($varId, $wish_list_id) {
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 
87 87
     /**
88 88
      * show WL by hash
89
-     * @param $hash
89
+     * @param string $hash
90 90
      * @return boolean
91 91
      */
92 92
     public function show($hash) {
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
 
114 114
     /**
115 115
      * get user by id
116
-     * @param $user_id
116
+     * @param integer $user_id
117 117
      * @return boolean
118 118
      */
119 119
     public function user($user_id) {
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
@@ -798,7 +798,7 @@
 block discarded – undo
798 798
     /**
799 799
      * Check user access for page
800 800
      * @param array $roles
801
-     * @return bool
801
+     * @return boolean|null
802 802
      */
803 803
     public function check_page_access($roles) {
804 804
 
Please login to merge, or discard this patch.
application/libraries/DX_Auth.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -505,6 +505,9 @@  discard block
 block discarded – undo
505 505
       Returning value if permission found, otherwise returning NULL
506 506
      */
507 507
 
508
+    /**
509
+     * @param string $key
510
+     */
508 511
     public function get_permission_value($key, $check_parent = TRUE) {
509 512
         // Default return value
510 513
         $result = NULL;
@@ -627,6 +630,9 @@  discard block
 block discarded – undo
627 630
 
628 631
     // Get useremail string
629 632
 
633
+    /**
634
+     * @return string
635
+     */
630 636
     public function get_user_email() {
631 637
         $user = $this->ci->db
632 638
             ->where('id', $this->get_user_id())
Please login to merge, or discard this patch.
application/libraries/Update.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -798,7 +798,7 @@
 block discarded – undo
798 798
     /**
799 799
      * Check user access for page
800 800
      * @param array $roles
801
-     * @return bool
801
+     * @return boolean|null
802 802
      */
803 803
     public function check_page_access($roles) {
804 804
 
Please login to merge, or discard this patch.