Completed
Push — master ( 17f8d0...df96c0 )
by Harald
14:18 queued 09:58
created
includes/modules/payment/braintree_cc/Braintree/TransparentRedirect.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -320,6 +320,7 @@
 block discarded – undo
320 320
 
321 321
     /**
322 322
      * @ignore
323
+     * @param string|null $string
323 324
      */
324 325
     private static function _hash($string)
325 326
     {
Please login to merge, or discard this patch.
catalog/includes/modules/payment/braintree_cc/Braintree/Util.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      * removes the Braintree_ header from a classname
84 84
      *
85 85
      * @param string $name Braintree_ClassName
86
-     * @return camelCased classname minus Braintree_ header
86
+     * @return string classname minus Braintree_ header
87 87
      */
88 88
     public static function cleanClassName($name)
89 89
     {
Please login to merge, or discard this patch.
catalog/includes/modules/payment/braintree_cc/Braintree/WebhookTesting.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@
 block discarded – undo
12 12
         );
13 13
     }
14 14
 
15
+    /**
16
+     * @return string
17
+     */
15 18
     private static function _sampleXml($kind, $id)
16 19
     {
17 20
         switch ($kind) {
Please login to merge, or discard this patch.
catalog/includes/modules/payment/braintree_cc/Braintree/Xml/Generator.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      *
51 51
      * @access protected
52 52
      * @static
53
-     * @param object $writer XMLWriter object
53
+     * @param XMLWriter $writer XMLWriter object
54 54
      * @param array $aData contains attributes and values
55 55
      * @return none
56 56
      */
@@ -119,8 +119,8 @@  discard block
 block discarded – undo
119 119
     /**
120 120
      * converts datetime back to xml schema format
121 121
      * @access protected
122
-     * @param object $dateTime
123
-     * @return var XML schema formatted timestamp
122
+     * @param DateTime $dateTime
123
+     * @return string XML schema formatted timestamp
124 124
      */
125 125
     private static function _dateTimeToXmlTimestamp($dateTime)
126 126
     {
Please login to merge, or discard this patch.
catalog/includes/modules/payment/braintree_cc/Braintree/Xml/Parser.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      * processes SimpleXMLIterator objects recursively
44 44
      *
45 45
      * @access protected
46
-     * @param object $iterator
46
+     * @param SimpleXMLIterator $iterator
47 47
      * @return array xml converted to array
48 48
      */
49 49
     private static function _iteratorToArray($iterator)
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
     /**
166 166
      * convert xml timestamps into DateTime
167 167
      * @param string $timestamp
168
-     * @return string UTC formatted datetime string
168
+     * @return DateTime UTC formatted datetime string
169 169
      */
170 170
     private static function _timestampToUTC($timestamp)
171 171
     {
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.