Skip to content

Commit 5fa50e0

Browse files
committed
Merge pull request #60 from luciano-jr/master
Fix some PHPDoc comments
2 parents 0cd3186 + ed5b905 commit 5fa50e0

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

src/Omnipay/Common/CreditCard.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ protected function setYearParameter($key, $value)
231231
* Generally if you want to validate the credit card yourself with custom error
232232
* messages, you should use your framework's validation library, not this method.
233233
*
234+
* @throws InvalidCreditCardException
234235
* @return void
235236
*/
236237
public function validate()

src/Omnipay/Common/Item.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public function __construct($parameters = null)
3535
* Initialize this item with the specified parameters
3636
*
3737
* @param array|null $parameters An array of parameters to set on this object
38+
* @return $this Item
3839
*/
3940
public function initialize($parameters = null)
4041
{

src/Omnipay/Common/Message/AbstractRequest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ public function getTestMode()
189189
* Sets the test mode of the request.
190190
*
191191
* @param boolean $value True for test mode on.
192+
* @return AbstractRequest
192193
*/
193194
public function setTestMode($value)
194195
{
@@ -513,6 +514,7 @@ public function getItems()
513514
* Set the items in this order
514515
*
515516
* @param ItemBag|array $items An array of items in this order
517+
* @return AbstractRequest
516518
*/
517519
public function setItems($items)
518520
{

src/Omnipay/Common/Message/RequestInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ interface RequestInterface extends MessageInterface
1717
{
1818
/**
1919
* Initialize request with parameters
20+
* @param array $parameters The parameters to send
2021
*/
2122
public function initialize(array $parameters = array());
2223

0 commit comments

Comments
 (0)