Completed
Push — development ( c8f467...de45b7 )
by Andrij
10:53
created
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.
application/modules/admin/categories.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
     }
300 300
 
301 301
     /**
302
-     * @return bool
302
+     * @return false|null
303 303
      */
304 304
     public function create_tpl() {
305 305
         $file = trim($this->input->post('filename'));
@@ -454,7 +454,7 @@  discard block
 block discarded – undo
454 454
      * Show edit category window
455 455
      * @access public
456 456
      * @param int $id
457
-     * @return bool
457
+     * @return null|false
458 458
      */
459 459
     public function edit($id) {
460 460
         $cat = $this->cms_admin->get_category($id);
@@ -654,7 +654,7 @@  discard block
 block discarded – undo
654 654
     /**
655 655
      * @param int $id
656 656
      * @param string $lang
657
-     * @return bool
657
+     * @return null|false
658 658
      */
659 659
     public function translate($id, $lang) {
660 660
         $cat = $this->cms_admin->get_category($id);
Please login to merge, or discard this patch.
application/modules/admin/components.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/modules/admin/sys_update.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -290,7 +290,7 @@
 block discarded – undo
290 290
     }
291 291
 
292 292
     /**
293
-     * @return bool
293
+     * @return false|null
294 294
      */
295 295
     public function Querys() {
296 296
 
Please login to merge, or discard this patch.
application/modules/cmsemail/models/cmsemail_model.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -115,6 +115,9 @@
 block discarded – undo
115 115
         }
116 116
     }
117 117
 
118
+    /**
119
+     * @param string $locale
120
+     */
118 121
     public function getTemplateVariables($template_id, $locale) {
119 122
         $query = $this->db->where('id', $template_id)->where('locale', $locale)->get('mod_email_paterns_i18n');
120 123
         if ($query) {
Please login to merge, or discard this patch.
application/modules/CMSFactory/MetaManipulator/MetaManipulator.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
     /**
228 228
      * @param string $string
229 229
      * @param string $prev_string
230
-     * @return null|string
230
+     * @return string
231 231
      */
232 232
     public function make($string, $prev_string) {
233 233
 
@@ -425,7 +425,7 @@  discard block
 block discarded – undo
425 425
      * @param string $string
426 426
      * @param integer $part
427 427
      * @param bool $ucFirst
428
-     * @return array
428
+     * @return string
429 429
      */
430 430
     public function getMorph($string, $part, $ucFirst = false) {
431 431
 
@@ -809,7 +809,7 @@  discard block
 block discarded – undo
809 809
     }
810 810
 
811 811
     /**
812
-     * @param array $metaArray
812
+     * @param string[] $metaArray
813 813
      */
814 814
     public function setMetaArray($metaArray) {
815 815
 
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use CMSFactory\assetManager;
7 7
 use Currency\Currency;
8 8
 use Exception;
9
-use MY_Controller;
10 9
 use phpMorphy;
11 10
 use phpMorphy_Exception;
12 11
 use SBrands;
Please login to merge, or discard this patch.
modules/CMSFactory/MetaManipulator/ShopProductMetaManipulator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use MY_Controller;
6 6
 use SProductPropertiesDataQuery;
7
-use SProducts;
8 7
 
9 8
 /**
10 9
  * Class ShopProductMetaManipulator
Please login to merge, or discard this patch.
application/modules/sitemap/models/sitemap_model.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -440,7 +440,7 @@
 block discarded – undo
440 440
     }
441 441
 
442 442
     /**
443
-     * @return true
443
+     * @return boolean
444 444
      */
445 445
     public function deinstallModule() {
446 446
 
Please login to merge, or discard this patch.
application/modules/translator/classes/PoFileSearch.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -335,7 +335,7 @@
 block discarded – undo
335 335
     }
336 336
 
337 337
     /**
338
-     * @return array
338
+     * @return string
339 339
      */
340 340
     public function get_default_lang() {
341 341
         if ($this->db) {
Please login to merge, or discard this patch.