@@ -2,6 +2,9 @@ |
||
| 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; |
@@ -38,8 +38,6 @@ |
||
| 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 | { |
@@ -52,7 +52,7 @@ |
||
| 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) |
@@ -104,7 +104,7 @@ |
||
| 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 | { |
@@ -46,7 +46,6 @@ |
||
| 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 | { |
@@ -3,12 +3,18 @@ |
||
| 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; |
@@ -245,7 +245,6 @@ discard block |
||
| 245 | 245 | /** |
| 246 | 246 | * |
| 247 | 247 | * @access public |
| 248 | - * @param array $attribs |
|
| 249 | 248 | * @return object |
| 250 | 249 | */ |
| 251 | 250 | public static function createFromTransparentRedirect($queryString) |
@@ -397,9 +396,8 @@ discard block |
||
| 397 | 396 | * If <b>query</b> is a hash, the search will be an advanced search. |
| 398 | 397 | * For more detailed information and examples, see {@link http://www.braintreepayments.com/gateway/transaction-api#searching http://www.braintreepaymentsolutions.com/gateway/transaction-api} |
| 399 | 398 | * |
| 400 | - * @param mixed $query search query |
|
| 401 | - * @param array $options options such as page number |
|
| 402 | - * @return object Braintree_ResourceCollection |
|
| 399 | + * @param Braintree_MultipleValueNode[] $query search query |
|
| 400 | + * @return Braintree_ResourceCollection Braintree_ResourceCollection |
|
| 403 | 401 | * @throws InvalidArgumentException |
| 404 | 402 | */ |
| 405 | 403 | public static function search($query) |
@@ -441,7 +439,6 @@ discard block |
||
| 441 | 439 | /** |
| 442 | 440 | * void a transaction by id |
| 443 | 441 | * |
| 444 | - * @param string $id transaction id |
|
| 445 | 442 | * @return object Braintree_Result_Successful|Braintree_Result_Error |
| 446 | 443 | */ |
| 447 | 444 | public static function void($transactionId) |
@@ -674,7 +671,7 @@ discard block |
||
| 674 | 671 | * sends the create request to the gateway |
| 675 | 672 | * |
| 676 | 673 | * @ignore |
| 677 | - * @param var $url |
|
| 674 | + * @param string $url |
|
| 678 | 675 | * @param array $params |
| 679 | 676 | * @return mixed |
| 680 | 677 | */ |
@@ -741,7 +738,7 @@ discard block |
||
| 741 | 738 | * to the requesting method, with populated properties |
| 742 | 739 | * |
| 743 | 740 | * @ignore |
| 744 | - * @return object instance of Braintree_Transaction |
|
| 741 | + * @return Braintree_Transaction instance of Braintree_Transaction |
|
| 745 | 742 | */ |
| 746 | 743 | public static function factory($attributes) |
| 747 | 744 | { |
@@ -320,6 +320,7 @@ |
||
| 320 | 320 | |
| 321 | 321 | /** |
| 322 | 322 | * @ignore |
| 323 | + * @param string|null $string |
|
| 323 | 324 | */ |
| 324 | 325 | private static function _hash($string) |
| 325 | 326 | { |
@@ -83,7 +83,7 @@ |
||
| 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 | { |