Skip to content

Commit

Permalink
Apply fixes from StyleCI (#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
srmklive authored Jan 31, 2018
1 parent aa55db2 commit 1694047
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
60 changes: 30 additions & 30 deletions src/Services/ExpressCheckout.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ protected function setShippingAmount($data)
* @param array $data
* @param bool $subscription
*
* @return array|\Psr\Http\Message\StreamInterface
*
* @throws \Exception
*
* @return array|\Psr\Http\Message\StreamInterface
*/
public function setExpressCheckout($data, $subscription = false)
{
Expand Down Expand Up @@ -159,9 +159,9 @@ public function setExpressCheckout($data, $subscription = false)
*
* @param string $token
*
* @return array|\Psr\Http\Message\StreamInterface
*
* @throws \Exception
*
* @return array|\Psr\Http\Message\StreamInterface
*/
public function getExpressCheckoutDetails($token)
{
Expand All @@ -179,9 +179,9 @@ public function getExpressCheckoutDetails($token)
* @param string $token
* @param string $payerid
*
* @return array|\Psr\Http\Message\StreamInterface
*
* @throws \Exception
*
* @return array|\Psr\Http\Message\StreamInterface
*/
public function doExpressCheckoutPayment($data, $token, $payerid)
{
Expand All @@ -207,9 +207,9 @@ public function doExpressCheckoutPayment($data, $token, $payerid)
* @param float $amount Amount to capture
* @param array $data Optional request fields
*
* @return array|\Psr\Http\Message\StreamInterface
*
* @throws \Exception
*
* @return array|\Psr\Http\Message\StreamInterface
*/
public function doAuthorization($authorization_id, $amount, $data = [])
{
Expand All @@ -231,9 +231,9 @@ public function doAuthorization($authorization_id, $amount, $data = [])
* @param string $complete Indicates whether or not this is the last capture.
* @param array $data Optional request fields
*
* @return array|\Psr\Http\Message\StreamInterface
*
* @throws \Exception
*
* @return array|\Psr\Http\Message\StreamInterface
*/
public function doCapture($authorization_id, $amount, $complete = 'Complete', $data = [])
{
Expand All @@ -256,9 +256,9 @@ public function doCapture($authorization_id, $amount, $complete = 'Complete', $d
* @param float $amount
* @param array $data
*
* @return array|\Psr\Http\Message\StreamInterface
*
* @throws \Exception
*
* @return array|\Psr\Http\Message\StreamInterface
*/
public function doReAuthorization($authorization_id, $amount, $data = [])
{
Expand All @@ -278,9 +278,9 @@ public function doReAuthorization($authorization_id, $amount, $data = [])
* @param string $authorization_id Transaction ID
* @param array $data Optional request fields
*
* @return array|\Psr\Http\Message\StreamInterface
*
* @throws \Exception
*
* @return array|\Psr\Http\Message\StreamInterface
*/
public function doVoid($authorization_id, $data = [])
{
Expand All @@ -298,9 +298,9 @@ public function doVoid($authorization_id, $data = [])
*
* @param string $token
*
* @return array|\Psr\Http\Message\StreamInterface
*
* @throws \Exception
*
* @return array|\Psr\Http\Message\StreamInterface
*/
public function createBillingAgreement($token)
{
Expand All @@ -317,9 +317,9 @@ public function createBillingAgreement($token)
* @param array $data
* @param string $token
*
* @return array|\Psr\Http\Message\StreamInterface
*
* @throws \Exception
*
* @return array|\Psr\Http\Message\StreamInterface
*/
public function createRecurringPaymentsProfile($data, $token)
{
Expand All @@ -335,9 +335,9 @@ public function createRecurringPaymentsProfile($data, $token)
*
* @param string $id
*
* @return array|\Psr\Http\Message\StreamInterface
*
* @throws \Exception
*
* @return array|\Psr\Http\Message\StreamInterface
*/
public function getRecurringPaymentsProfileDetails($id)
{
Expand All @@ -354,9 +354,9 @@ public function getRecurringPaymentsProfileDetails($id)
* @param array $data
* @param string $id
*
* @return array|\Psr\Http\Message\StreamInterface
*
* @throws \Exception
*
* @return array|\Psr\Http\Message\StreamInterface
*/
public function updateRecurringPaymentsProfile($data, $id)
{
Expand All @@ -373,9 +373,9 @@ public function updateRecurringPaymentsProfile($data, $id)
* @param string $id
* @param string $status
*
* @return array|\Psr\Http\Message\StreamInterface
*
* @throws \Exception
*
* @return array|\Psr\Http\Message\StreamInterface
*/
protected function manageRecurringPaymentsProfileStatus($id, $status)
{
Expand All @@ -392,9 +392,9 @@ protected function manageRecurringPaymentsProfileStatus($id, $status)
*
* @param string $id
*
* @return array|\Psr\Http\Message\StreamInterface
*
* @throws \Exception
*
* @return array|\Psr\Http\Message\StreamInterface
*/
public function cancelRecurringPaymentsProfile($id)
{
Expand All @@ -406,9 +406,9 @@ public function cancelRecurringPaymentsProfile($id)
*
* @param string $id
*
* @return array|\Psr\Http\Message\StreamInterface
*
* @throws \Exception
*
* @return array|\Psr\Http\Message\StreamInterface
*/
public function suspendRecurringPaymentsProfile($id)
{
Expand All @@ -420,9 +420,9 @@ public function suspendRecurringPaymentsProfile($id)
*
* @param string $id
*
* @return array|\Psr\Http\Message\StreamInterface
*
* @throws \Exception
*
* @return array|\Psr\Http\Message\StreamInterface
*/
public function reactivateRecurringPaymentsProfile($id)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Traits/PayPalRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ trait PayPalRequest
/**
* Item subtotal.
*
* @var double
* @var float
*/
private $subtotal;

Expand Down

0 comments on commit 1694047

Please sign in to comment.