Completed
Pull Request — development (#107)
by
unknown
09:56
created
application/modules/payment_method_walletone/payment_method_walletone.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -228,6 +228,10 @@
 block discarded – undo
228 228
 
229 229
     }
230 230
 
231
+    /**
232
+     * @param string $result
233
+     * @param string $description
234
+     */
231 235
     private function printAnswer($result, $description) {
232 236
         print 'WMI_RESULT=' . strtoupper($result) . '&';
233 237
         print 'WMI_DESCRIPTION=' . urlencode($description);
Please login to merge, or discard this patch.
application/modules/template_manager/classes/DemoDataSQLFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param string $query
30
-     * @return mixed
30
+     * @return string|null
31 31
      */
32 32
     public function filter($query) {
33 33
 
Please login to merge, or discard this patch.
application/modules/template_manager/classes/TArchive.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
     /**
66 66
      * Unpacking the archive to ./templates/ folder
67 67
      * @param string $unpackPath (optional) path to templates folder (default ./templates)
68
-     * @return string template name
68
+     * @return boolean template name
69 69
      * @throws \Exception
70 70
      */
71 71
     public function unpack($unpackPath = TEMPLATES_PATH) {
Please login to merge, or discard this patch.
application/modules/template_manager/classes/TemplateManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -308,7 +308,7 @@
 block discarded – undo
308 308
     }
309 309
 
310 310
     /**
311
-     * @param $sqlString
311
+     * @param string $sqlString
312 312
      */
313 313
     public function query_from_file($sqlString) {
314 314
 
Please login to merge, or discard this patch.
application/modules/forms/forms.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -177,6 +177,9 @@
 block discarded – undo
177 177
         return $result;
178 178
     }
179 179
 
180
+    /**
181
+     * @param string $name
182
+     */
180 183
     public function standartRender($name, $field) {
181 184
 
182 185
         $result = '';
Please login to merge, or discard this patch.
application/modules/found_less_expensive/found_less_expensive.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
     }
45 45
 
46 46
     /**
47
-     * @return array|string
47
+     * @return string|null
48 48
      */
49 49
     public function save_message() {
50 50
 
Please login to merge, or discard this patch.
application/modules/admin/categories.php 2 patches
Doc Comments   +7 added lines, -3 removed lines patch added patch discarded remove patch
@@ -225,6 +225,10 @@  discard block
 block discarded – undo
225 225
         }
226 226
     }
227 227
 
228
+    /**
229
+     * @param string $url
230
+     * @param integer $id
231
+     */
228 232
     public function url_exists($url, $id = null) {
229 233
 
230 234
         $segment = end(explode('/', $url));
@@ -321,7 +325,7 @@  discard block
 block discarded – undo
321 325
     }
322 326
 
323 327
     /**
324
-     * @return bool
328
+     * @return false|null
325 329
      */
326 330
     public function create_tpl() {
327 331
         $file = trim($this->input->post('filename'));
@@ -480,7 +484,7 @@  discard block
 block discarded – undo
480 484
      * Show edit category window
481 485
      * @access public
482 486
      * @param int $id
483
-     * @return bool
487
+     * @return null|false
484 488
      */
485 489
     public function edit($id) {
486 490
         $cat = $this->cms_admin->get_category($id);
@@ -680,7 +684,7 @@  discard block
 block discarded – undo
680 684
     /**
681 685
      * @param int $id
682 686
      * @param string $lang
683
-     * @return bool
687
+     * @return null|false
684 688
      */
685 689
     public function translate($id, $lang) {
686 690
         $cat = $this->cms_admin->get_category($id);
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 use CMSFactory\Events;
4
-use core\models\Route;
5
-use core\models\RouteQuery;
6 4
 use template_manager\classes\TemplateManager;
7 5
 
8 6
 if (!defined('BASEPATH')) {
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
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     }
91 91
 
92 92
     /**
93
-     * @return bool
93
+     * @return null|false
94 94
      */
95 95
     public function create() {
96 96
         if (!$this->_is_writable()) {
@@ -271,7 +271,7 @@  discard block
 block discarded – undo
271 271
     /**
272 272
      * @param int $id
273 273
      * @param string $locale
274
-     * @return bool
274
+     * @return false|null
275 275
      */
276 276
     public function update_html_widget($id, $locale) {
277 277
         $locale = $locale ?: MY_Controller::defaultLocale();
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
      * @param integer $id
338 338
      * @param bool|FALSE $update_info
339 339
      * @param null|string $locale
340
-     * @return bool
340
+     * @return false|null
341 341
      */
342 342
     public function update_widget($id, $update_info = FALSE, $locale = NULL) {
343 343
         //cp_check_perm('widget_access_settings');
Please login to merge, or discard this patch.
application/modules/cmsemail/models/cmsemail_model.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,6 +116,9 @@  discard block
 block discarded – undo
116 116
         }
117 117
     }
118 118
 
119
+    /**
120
+     * @param string $locale
121
+     */
119 122
     public function getTemplateVariables($template_id, $locale) {
120 123
         $query = $this->db->where('id', $template_id)->where('locale', $locale)->get('mod_email_paterns_i18n');
121 124
         if ($query) {
@@ -393,7 +396,7 @@  discard block
 block discarded – undo
393 396
     /**
394 397
      * Save settings
395 398
      * @param array $data
396
-     * @return bool
399
+     * @return boolean|null
397 400
      */
398 401
     public function setSettings($data) {
399 402
         $settings = $this->getSettings();
Please login to merge, or discard this patch.