Completed
Pull Request — master (#407)
by Harald
05:05
created
catalog/includes/modules/header_tags/ht_mailchimp_360/MCAPI.class.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -1572,6 +1572,7 @@
 block discarded – undo
1572 1572
     /**
1573 1573
      * Actually connect to the server and call the requested methods, parsing the result
1574 1574
      * You should never have to call this function manually
1575
+     * @param string $method
1575 1576
      */
1576 1577
     function callServer($method, $params) {
1577 1578
     	//Always include the apikey if we are not logging in
Please login to merge, or discard this patch.
catalog/includes/modules/payment/sage_pay_direct.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -668,6 +668,9 @@  discard block
 block discarded – undo
668 668
       return defined('MODULE_PAYMENT_SAGE_PAY_DIRECT_STATUS');
669 669
     }
670 670
 
671
+    /**
672
+     * @param string $parameter
673
+     */
671 674
     function install($parameter = null) {
672 675
       $OSCOM_Db = Registry::get('Db');
673 676
 
@@ -867,6 +870,10 @@  discard block
 block discarded – undo
867 870
       return $params;
868 871
     }
869 872
 
873
+    /**
874
+     * @param string $url
875
+     * @param string $parameters
876
+     */
870 877
     function sendTransactionToGateway($url, $parameters) {
871 878
       $server = parse_url($url);
872 879
 
@@ -985,6 +992,9 @@  discard block
 block discarded – undo
985 992
       return !empty($this->_cards);
986 993
     }
987 994
 
995
+    /**
996
+     * @param string $key
997
+     */
988 998
     function isCard($key) {
989 999
       if (!isset($this->_cards)) {
990 1000
         $this->getCardTypes();
Please login to merge, or discard this patch.
catalog/includes/modules/payment/sage_pay_form.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -346,6 +346,9 @@  discard block
 block discarded – undo
346 346
       return defined('MODULE_PAYMENT_SAGE_PAY_FORM_STATUS');
347 347
     }
348 348
 
349
+    /**
350
+     * @param string $parameter
351
+     */
349 352
     function install($parameter = null) {
350 353
       $OSCOM_Db = Registry::get('Db');
351 354
 
@@ -517,6 +520,9 @@  discard block
 block discarded – undo
517 520
       return $order_total_array;
518 521
     }
519 522
 
523
+    /**
524
+     * @param string $string
525
+     */
520 526
     function encryptParams($string) {
521 527
 // pad pkcs5
522 528
       $blocksize = 16;
Please login to merge, or discard this patch.
catalog/includes/modules/payment/sage_pay_server.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -328,6 +328,9 @@  discard block
 block discarded – undo
328 328
       return defined('MODULE_PAYMENT_SAGE_PAY_SERVER_STATUS');
329 329
     }
330 330
 
331
+    /**
332
+     * @param string $parameter
333
+     */
331 334
     function install($parameter = null) {
332 335
       $OSCOM_Db = Registry::get('Db');
333 336
 
@@ -477,6 +480,10 @@  discard block
 block discarded – undo
477 480
       return $params;
478 481
     }
479 482
 
483
+    /**
484
+     * @param string $url
485
+     * @param string $parameters
486
+     */
480 487
     function sendTransactionToGateway($url, $parameters) {
481 488
       $server = parse_url($url);
482 489
 
@@ -581,6 +588,9 @@  discard block
 block discarded – undo
581 588
       return (is_numeric($number) && isset($this->_error_messages[$number]));
582 589
     }
583 590
 
591
+    /**
592
+     * @param string $url
593
+     */
584 594
     function formatURL($url) {
585 595
       return str_replace('&', '&', $url);
586 596
     }
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/Apps.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -13,6 +13,9 @@  discard block
 block discarded – undo
13 13
 
14 14
 class Apps
15 15
 {
16
+    /**
17
+     * @param string $type
18
+     */
16 19
     public static function getModules($type, $filter_vendor_app = null, $filter = null)
17 20
     {
18 21
         $result = [];
@@ -72,6 +75,9 @@  discard block
 block discarded – undo
72 75
         return $result;
73 76
     }
74 77
 
78
+    /**
79
+     * @param string $app
80
+     */
75 81
     public static function exists($app)
76 82
     {
77 83
         if (strpos($app, '\\') !== false) {
@@ -93,6 +99,9 @@  discard block
 block discarded – undo
93 99
         return false;
94 100
     }
95 101
 
102
+    /**
103
+     * @param string $type
104
+     */
96 105
     public static function getModuleClass($module, $type)
97 106
     {
98 107
         if (!Registry::exists('ModuleType' . $type)) {
@@ -112,6 +121,9 @@  discard block
 block discarded – undo
112 121
         return $OSCOM_Type->getClass($module);
113 122
     }
114 123
 
124
+    /**
125
+     * @param string $app
126
+     */
115 127
     public static function getInfo($app)
116 128
     {
117 129
         if (strpos($app, '\\') !== false) {
@@ -131,6 +143,9 @@  discard block
 block discarded – undo
131 143
         return false;
132 144
     }
133 145
 
146
+    /**
147
+     * @param string $filter_vendor_app
148
+     */
134 149
     public static function getRouteDestination($route = null, $filter_vendor_app = null)
135 150
     {
136 151
         if (empty($route)) {
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/Db.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@  discard block
 block discarded – undo
69 69
         return parent::exec($statement);
70 70
     }
71 71
 
72
+    /**
73
+     * @param string $statement
74
+     */
72 75
     public function prepare($statement, $driver_options = null)
73 76
     {
74 77
         $statement = $this->autoPrefixTables($statement);
@@ -80,6 +83,9 @@  discard block
 block discarded – undo
80 83
         return $DbStatement;
81 84
     }
82 85
 
86
+    /**
87
+     * @param string $statement
88
+     */
83 89
     public function query($statement)
84 90
     {
85 91
         $statement = $this->autoPrefixTables($statement);
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/DbStatement.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
         return parent::bindValue($parameter, $value, $data_type);
33 33
     }
34 34
 
35
+    /**
36
+     * @param string $parameter
37
+     */
35 38
     public function bindInt($parameter, $value)
36 39
     {
37 40
 // force type to int (see http://bugs.php.net/bug.php?id=44639)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 
9 9
 namespace OSC\OM;
10 10
 
11
-use OSC\OM\Db;
12 11
 use OSC\OM\HTML;
13 12
 use OSC\OM\OSCOM;
14 13
 use OSC\OM\Registry;
Please login to merge, or discard this patch.
catalog/includes/OSC/OM/Registry.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@  discard block
 block discarded – undo
12 12
 {
13 13
     private static $data = [];
14 14
 
15
+    /**
16
+     * @param string $key
17
+     */
15 18
     public static function get($key)
16 19
     {
17 20
         if (!static::exists($key)) {
@@ -23,6 +26,9 @@  discard block
 block discarded – undo
23 26
         return static::$data[$key];
24 27
     }
25 28
 
29
+    /**
30
+     * @param string $key
31
+     */
26 32
     public static function set($key, $value, $force = false)
27 33
     {
28 34
         if (!is_object($value)) {
Please login to merge, or discard this patch.
catalog/includes/OSC/Sites/Shop/Shop.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 use OSC\OM\Cache;
13 13
 use OSC\OM\Db;
14 14
 use OSC\OM\Hooks;
15
-use OSC\OM\HTML;
16 15
 use OSC\OM\OSCOM;
17 16
 use OSC\OM\Registry;
18 17
 
Please login to merge, or discard this patch.