Completed
Push — 23_general_updates ( a4bc58 )
by Harald
05:50
created
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/admin/includes/classes/passwordhash.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -35,6 +35,10 @@  discard block
 block discarded – undo
35 35
 	var $portable_hashes;
36 36
 	var $random_state;
37 37
 
38
+	/**
39
+	 * @param integer $iteration_count_log2
40
+	 * @param boolean $portable_hashes
41
+	 */
38 42
 	function PasswordHash($iteration_count_log2, $portable_hashes)
39 43
 	{
40 44
 		$this->itoa64 = './0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
@@ -84,6 +88,9 @@  discard block
 block discarded – undo
84 88
 		return $output;
85 89
 	}
86 90
 
91
+	/**
92
+	 * @param integer $count
93
+	 */
87 94
 	function encode64($input, $count)
88 95
 	{
89 96
 		$output = '';
@@ -107,6 +114,9 @@  discard block
 block discarded – undo
107 114
 		return $output;
108 115
 	}
109 116
 
117
+	/**
118
+	 * @param string $input
119
+	 */
110 120
 	function gensalt_private($input)
111 121
 	{
112 122
 		$output = '$P$';
@@ -155,6 +165,9 @@  discard block
 block discarded – undo
155 165
 		return $output;
156 166
 	}
157 167
 
168
+	/**
169
+	 * @param string $input
170
+	 */
158 171
 	function gensalt_extended($input)
159 172
 	{
160 173
 		$count_log2 = min($this->iteration_count_log2 + 8, 24);
@@ -173,6 +186,9 @@  discard block
 block discarded – undo
173 186
 		return $output;
174 187
 	}
175 188
 
189
+	/**
190
+	 * @param string $input
191
+	 */
176 192
 	function gensalt_blowfish($input)
177 193
 	{
178 194
 		# This one needs to use a different order of characters and a
Please login to merge, or discard this patch.
includes/modules/security_check/extended/admin_backup_directory_listing.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
       return MODULE_SECURITY_CHECK_EXTENDED_EXT_DIRECTORY_LISTING_HTTP_200;
33 33
     }
34 34
 
35
+    /**
36
+     * @param null|string $url
37
+     */
35 38
     function getHttpRequest($url) {
36 39
       $server = parse_url($url);
37 40
 
Please login to merge, or discard this patch.
admin/includes/modules/security_check/extended/admin_backup_file.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
       return MODULE_SECURITY_CHECK_EXTENDED_EXT_DIRECTORY_LISTING_HTTP_200;
33 33
     }
34 34
 
35
+    /**
36
+     * @param null|string $url
37
+     */
35 38
     function getHttpRequest($url) {
36 39
       $server = parse_url($url);
37 40
 
Please login to merge, or discard this patch.
catalog/includes/modules/payment/braintree_cc/Braintree.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@
 block discarded – undo
68 68
         return $this->forKey("index" . $index);
69 69
     }
70 70
 
71
+    /**
72
+     * @param string $key
73
+     */
71 74
     public function forKey($key)
72 75
     {
73 76
         return isset($this->_nested[$key]) ? $this->_nested[$key] : null;
Please login to merge, or discard this patch.
catalog/includes/modules/payment/braintree_cc/Braintree/KeyValueNode.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -2,6 +2,9 @@
 block discarded – undo
2 2
 
3 3
 class Braintree_RangeNode
4 4
 {
5
+    /**
6
+     * @param string $name
7
+     */
5 8
     function __construct($name)
6 9
     {
7 10
         $this->name = $name;
Please login to merge, or discard this patch.