Completed
Pull Request — master (#437)
by Harald
04:21
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/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   -2 removed lines patch added patch discarded remove patch
@@ -9,10 +9,8 @@
 block discarded – undo
9 9
 namespace OSC\OM;
10 10
 
11 11
 use OSC\OM\Cache;
12
-use OSC\OM\Db;
13 12
 use OSC\OM\HTML;
14 13
 use OSC\OM\OSCOM;
15
-use OSC\OM\Registry;
16 14
 
17 15
 class DbStatement extends \PDOStatement
18 16
 {
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.
catalog/admin/includes/classes/email.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -81,6 +81,7 @@  discard block
 block discarded – undo
81 81
  * it. This can then be given as the first
82 82
  * argument of the the functions
83 83
  * add_html_image() or add_attachment().
84
+ * @param string $filename
84 85
  */
85 86
 
86 87
     function get_file($filename) {
@@ -151,6 +152,7 @@  discard block
 block discarded – undo
151 152
  * Adds a html part to the mail.
152 153
  * Also replaces image names with
153 154
  * content-id's.
155
+ * @param string $text
154 156
  */
155 157
 
156 158
     function add_html($html, $text = NULL, $images_dir = NULL) {
@@ -163,6 +165,7 @@  discard block
 block discarded – undo
163 165
 /**
164 166
  * Adds an image to the list of embedded
165 167
  * images.
168
+ * @param string $file
166 169
  */
167 170
 
168 171
     function add_html_image($file, $name = '', $c_type='application/octet-stream') {
@@ -227,6 +230,7 @@  discard block
 block discarded – undo
227 230
 
228 231
 /**
229 232
  * Adds an alternative part to a mime_part object
233
+ * @param null|mime $obj
230 234
  */
231 235
 
232 236
     function add_alternative_part(&$obj) {
Please login to merge, or discard this patch.