Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

Commit

Permalink
Merge pull request #9 from r2pq/master
Browse files Browse the repository at this point in the history
Add Type Hitting to Payment and ItemList
  • Loading branch information
avidas committed Apr 9, 2014
2 parents 5b01b23 + ac4c729 commit ae52f47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/PayPal/Api/ItemList.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class ItemList extends PPModel {
* @array
* @param PayPal\Api\Item $items
*/
public function setItems($items) {
public function setItems(array $items) {
$this->items = $items;
return $this;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/PayPal/Api/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function getPayer() {
* @array
* @param PayPal\Api\Transaction $transactions
*/
public function setTransactions($transactions) {
public function setTransactions(array $transactions) {
$this->transactions = $transactions;
return $this;
}
Expand Down

0 comments on commit ae52f47

Please sign in to comment.