Completed
Pull Request — 23 (#615)
by Harald
03:18
created
catalog/includes/classes/language.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -70,6 +70,9 @@
 block discarded – undo
70 70
       $this->set_language($lng);
71 71
     }
72 72
 
73
+    /**
74
+     * @param string $language
75
+     */
73 76
     function set_language($language) {
74 77
       if ( (tep_not_null($language)) && (isset($this->catalog_languages[$language])) ) {
75 78
         $this->language = $this->catalog_languages[$language];
Please login to merge, or discard this patch.
catalog/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.
catalog/includes/functions/sessions.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -103,6 +103,9 @@  discard block
 block discarded – undo
103 103
     return session_start();
104 104
   }
105 105
 
106
+  /**
107
+   * @param string $variable
108
+   */
106 109
   function tep_session_register($variable) {
107 110
     global $session_started;
108 111
 
@@ -121,6 +124,9 @@  discard block
 block discarded – undo
121 124
     return false;
122 125
   }
123 126
 
127
+  /**
128
+   * @param string $variable
129
+   */
124 130
   function tep_session_is_registered($variable) {
125 131
     if (PHP_VERSION < 4.3) {
126 132
       return session_is_registered($variable);
@@ -129,6 +135,9 @@  discard block
 block discarded – undo
129 135
     }
130 136
   }
131 137
 
138
+  /**
139
+   * @param string $variable
140
+   */
132 141
   function tep_session_unregister($variable) {
133 142
     if (PHP_VERSION < 4.3) {
134 143
       return session_unregister($variable);
Please login to merge, or discard this patch.
catalog/includes/functions/whos_online.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -44,6 +44,10 @@
 block discarded – undo
44 44
     }
45 45
   }
46 46
 
47
+  /**
48
+   * @param string $old_id
49
+   * @param string $new_id
50
+   */
47 51
   function tep_whos_online_update_session_id($old_id, $new_id) {
48 52
     tep_db_query("update " . TABLE_WHOS_ONLINE . " set session_id = '" . tep_db_input($new_id) . "' where session_id = '" . tep_db_input($old_id) . "'");
49 53
   }
Please login to merge, or discard this patch.
catalog/includes/modules/payment/authorizenet_cc_sim.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -387,6 +387,9 @@  discard block
 block discarded – undo
387 387
       return $this->_check;
388 388
     }
389 389
 
390
+    /**
391
+     * @param string $parameter
392
+     */
390 393
     function install($parameter = null) {
391 394
       $params = $this->getParams();
392 395
 
@@ -517,6 +520,9 @@  discard block
 block discarded – undo
517 520
       return $params;
518 521
     }
519 522
 
523
+    /**
524
+     * @param string $data
525
+     */
520 526
     function _hmac($key, $data) {
521 527
       if (function_exists('hash_hmac')) {
522 528
         return hash_hmac('md5', $data, $key);
Please login to merge, or discard this patch.
catalog/includes/modules/payment/rbsworldpay_hosted.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -547,6 +547,9 @@
 block discarded – undo
547 547
       return $this->_check;
548 548
     }
549 549
 
550
+    /**
551
+     * @param string $parameter
552
+     */
550 553
     function install($parameter = null) {
551 554
       $params = $this->getParams();
552 555
 
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
@@ -679,6 +679,9 @@  discard block
 block discarded – undo
679 679
       return $this->_check;
680 680
     }
681 681
 
682
+    /**
683
+     * @param string $parameter
684
+     */
682 685
     function install($parameter = null) {
683 686
       $params = $this->getParams();
684 687
 
@@ -874,6 +877,10 @@  discard block
 block discarded – undo
874 877
       return $params;
875 878
     }
876 879
 
880
+    /**
881
+     * @param string $url
882
+     * @param string $parameters
883
+     */
877 884
     function sendTransactionToGateway($url, $parameters) {
878 885
       $server = parse_url($url);
879 886
 
@@ -992,6 +999,9 @@  discard block
 block discarded – undo
992 999
       return !empty($this->_cards);
993 1000
     }
994 1001
 
1002
+    /**
1003
+     * @param string $key
1004
+     */
995 1005
     function isCard($key) {
996 1006
       if (!isset($this->_cards)) {
997 1007
         $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
@@ -344,6 +344,9 @@  discard block
 block discarded – undo
344 344
       return $this->_check;
345 345
     }
346 346
 
347
+    /**
348
+     * @param string $parameter
349
+     */
347 350
     function install($parameter = null) {
348 351
       $params = $this->getParams();
349 352
 
@@ -513,6 +516,9 @@  discard block
 block discarded – undo
513 516
       return $order_total_array;
514 517
     }
515 518
 
519
+    /**
520
+     * @param string $string
521
+     */
516 522
     function encryptParams($string) {
517 523
 // pad pkcs5
518 524
       $blocksize = 16;
Please login to merge, or discard this patch.
catalog/includes/apps/braintree/lib/Braintree/Instance.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      * initializes instance properties from the keys/values of an array
64 64
      * @ignore
65 65
      * @access protected
66
-     * @param <type> $aAttribs array of properties to set - single level
66
+     * @param <type> $attributes array of properties to set - single level
67 67
      * @return void
68 68
      */
69 69
     private function _initializeFromArray($attributes)
Please login to merge, or discard this patch.