@@ -142,6 +142,7 @@ |
||
142 | 142 | /** |
143 | 143 | * Generate the request url out of the params and die api url |
144 | 144 | * |
145 | + * @param string $sApiUrl |
|
145 | 146 | * @return string |
146 | 147 | */ |
147 | 148 | public function getRequestUrl($aParameters, $sApiUrl) |
@@ -102,7 +102,6 @@ |
||
102 | 102 | /** |
103 | 103 | * Get the region object for the state and country given by PayPal |
104 | 104 | * |
105 | - * @param array $aResponse |
|
106 | 105 | * @return Region|bool |
107 | 106 | */ |
108 | 107 | public function getRegion($sCountry, $sState) |
@@ -95,6 +95,7 @@ discard block |
||
95 | 95 | /** |
96 | 96 | * Return the order related to the given TransactionStatus |
97 | 97 | * |
98 | + * @param string $sTxid |
|
98 | 99 | * @return SalesOrder|null |
99 | 100 | */ |
100 | 101 | public function getOrderByTxid($sTxid) |
@@ -160,7 +161,6 @@ discard block |
||
160 | 161 | * Fill billing and shipping addresses with the needed information from the response |
161 | 162 | * |
162 | 163 | * @param Address $oAddress |
163 | - * @param array $aResponse |
|
164 | 164 | * @return Address |
165 | 165 | */ |
166 | 166 | public function fillSingleAddress(Address $oAddress, $sFirstname, $sLastname, $sStreet, $sCity, $sZip, $sCountry, $sState) |
@@ -117,7 +117,7 @@ |
||
117 | 117 | * @param Order $oOrder Order object |
118 | 118 | * @param array $aPositions Is given with non-complete captures or debits |
119 | 119 | * @param bool $blDebit Is the call coming from a debit request |
120 | - * @return float |
|
120 | + * @return integer |
|
121 | 121 | */ |
122 | 122 | public function addProductInfo(Base $oRequest, Order $oOrder, $aPositions = false, $blDebit = false) |
123 | 123 | { |
@@ -116,7 +116,7 @@ |
||
116 | 116 | * Returns formatted birthday if possible |
117 | 117 | * |
118 | 118 | * @param DataObject $data |
119 | - * @return string|bool |
|
119 | + * @return string|false |
|
120 | 120 | */ |
121 | 121 | protected function getFormattedBirthday(DataObject $data) |
122 | 122 | { |