Completed
Push — master ( 77e87d...17f8d0 )
by Harald
04:52
created
modules/payment/braintree_cc/Braintree/Error/ValidationErrorCollection.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/Instance.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
 {
20 20
     /**
21 21
      *
22
-     * @param array $aAttribs
22
+     * @param array $attributes
23 23
      */
24 24
     public function  __construct($attributes)
25 25
     {
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     /**
60 60
      * create a printable representation of the object as:
61 61
      * ClassName[property=value, property=value]
62
-     * @return var
62
+     * @return string
63 63
      */
64 64
     public function  __toString()
65 65
     {
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      * initializes instance properties from the keys/values of an array
71 71
      * @ignore
72 72
      * @access protected
73
-     * @param <type> $aAttribs array of properties to set - single level
73
+     * @param <type> $attributes array of properties to set - single level
74 74
      * @return none
75 75
      */
76 76
     private function _initializeFromArray($attributes)
Please login to merge, or discard this patch.
catalog/includes/modules/payment/braintree_cc/Braintree/MerchantAccount.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -112,6 +112,9 @@  discard block
 block discarded – undo
112 112
         );
113 113
     }
114 114
 
115
+    /**
116
+     * @param string $url
117
+     */
115 118
     public static function _doCreate($url, $params)
116 119
     {
117 120
         $response = Braintree_Http::post($url, $params);
@@ -119,6 +122,9 @@  discard block
 block discarded – undo
119 122
         return self::_verifyGatewayResponse($response);
120 123
     }
121 124
 
125
+    /**
126
+     * @param string $url
127
+     */
122 128
     private static function _doUpdate($url, $params)
123 129
     {
124 130
         $response = Braintree_Http::put($url, $params);
Please login to merge, or discard this patch.
catalog/includes/modules/payment/braintree_cc/Braintree/RangeNode.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.
includes/modules/payment/braintree_cc/Braintree/ResourceCollection.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,6 @@
 block discarded – undo
38 38
      *
39 39
      * expects an array of attributes with literal keys
40 40
      *
41
-     * @param array $attributes
42
-     * @param array $pagerAttribs
43 41
      */
44 42
     public function  __construct($response, $pager)
45 43
     {
Please login to merge, or discard this patch.
modules/payment/braintree_cc/Braintree/Result/CreditCardVerification.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
      * initializes instance properties from the keys/values of an array
53 53
      * @ignore
54 54
      * @access protected
55
-     * @param <type> $aAttribs array of properties to set - single level
55
+     * @param <type> $attributes array of properties to set - single level
56 56
      * @return none
57 57
      */
58 58
     private function _initializeFromArray($attributes)
Please login to merge, or discard this patch.
catalog/includes/modules/payment/braintree_cc/Braintree/Result/Error.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
      * create a printable representation of the object as:
105 105
      * ClassName[property=value, property=value]
106 106
      * @ignore
107
-     * @return var
107
+     * @return string
108 108
      */
109 109
     public function  __toString()
110 110
     {
Please login to merge, or discard this patch.
includes/modules/payment/braintree_cc/Braintree/Result/Successful.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,6 @@
 block discarded – undo
46 46
 
47 47
     /**
48 48
      * @ignore
49
-     * @param string $classToReturn name of class to instantiate
50 49
      */
51 50
     public function __construct($objToReturn = null)
52 51
     {
Please login to merge, or discard this patch.
includes/modules/payment/braintree_cc/Braintree/SignatureService.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -3,12 +3,18 @@
 block discarded – undo
3 3
 class Braintree_SignatureService
4 4
 {
5 5
 
6
+    /**
7
+     * @param string $digest
8
+     */
6 9
     public function __construct($key, $digest)
7 10
     {
8 11
         $this->key = $key;
9 12
         $this->digest = $digest;
10 13
     }
11 14
 
15
+    /**
16
+     * @param string $payload
17
+     */
12 18
     public function sign($payload)
13 19
     {
14 20
         return $this->hash($payload) . "|" . $payload;
Please login to merge, or discard this patch.