Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
abr4xas authored and github-actions[bot] committed Oct 24, 2023
1 parent b256142 commit ef5d9e1
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 50 deletions.
3 changes: 0 additions & 3 deletions src/PaymentProcessors.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ class PaymentProcessors
/**
* Undocumented function
*
* @param string $name
* @param array $params
* @return mixed
*
* @throws \Exception
*
Expand Down
18 changes: 0 additions & 18 deletions src/Services/MercadoPagoService.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ public function resolveAccessToken(): string
/**
* Undocumented function
*
* @return StreamInterface|array
*
* @throws GuzzleException
*/
Expand All @@ -68,9 +67,6 @@ public function getPaymentMethods(): StreamInterface|array
}

/**
* @param array $params
* @return StreamInterface|array
*
* @throws GuzzleException
*/
public function createPreference(array $params): StreamInterface|array
Expand All @@ -87,12 +83,6 @@ public function createPreference(array $params): StreamInterface|array

/**
* handlePayment
*
* @param string $cardNetwork
* @param string $cardToken
* @param int $amount
* @param string $userEmail
* @return StreamInterface|array
*/
public function handlePayment(string $cardNetwork, string $cardToken, int $amount, string $userEmail): StreamInterface|array
{
Expand All @@ -107,8 +97,6 @@ public function handlePayment(string $cardNetwork, string $cardToken, int $amoun
/**
* en mercado pago no se maneja aprobaciones
* por defecto los aprueba
*
* @return void
*/
public function handleApproval(): void
{
Expand All @@ -117,12 +105,6 @@ public function handleApproval(): void
/**
* createPayment
*
* @param int $amount
* @param string $cardNetwork
* @param string $cardToken
* @param string $email
* @param int $installments
* @return StreamInterface|array
*
* @throws GuzzleException
*/
Expand Down
10 changes: 0 additions & 10 deletions src/Services/PayPalService.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public function decodeResponse(string $response): array
/**
* resolveAccessToken
*
* @return string
*
* @throws GuzzleException
*/
Expand Down Expand Up @@ -86,9 +85,6 @@ public function resolveAccessToken(): string
/**
* Undocumented function
*
* @param float $amount
* @param string $currency
* @return RedirectResponse
*
* @psalm-suppress UndefinedInterfaceMethod
*
Expand All @@ -109,7 +105,6 @@ public function handlePayment(float $amount, string $currency = 'USD'): Redirect
/**
* Undocumented function
*
* @return StreamInterface|array
*
* @throws GuzzleException
*/
Expand All @@ -127,9 +122,6 @@ public function handleApproval(): StreamInterface|array
/**
* Undocumented function
*
* @param float $value
* @param string $currency
* @return StreamInterface|array
*
* @throws GuzzleException
*/
Expand Down Expand Up @@ -165,8 +157,6 @@ public function createOrder(float $value, string $currency): StreamInterface|arr
/**
* Undocumented function
*
* @param string $approvalId
* @return StreamInterface|array
*
* @throws GuzzleException
*/
Expand Down
12 changes: 0 additions & 12 deletions src/Services/StripeService.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ public function decodeResponse(string $response): array

/**
* resolveAccessToken
*
* @return string
*/
public function resolveAccessToken(): string
{
Expand All @@ -51,8 +49,6 @@ public function resolveAccessToken(): string
/**
* Undocumented function
*
* @param array $paymentData
* @return StreamInterface|array
*
* @psalm-suppress UndefinedInterfaceMethod
*/
Expand All @@ -67,8 +63,6 @@ public function handlePayment(array $paymentData): StreamInterface|array

/**
* Undocumented function
*
* @return StreamInterface|array
*/
public function handleApproval(): StreamInterface|array
{
Expand All @@ -78,10 +72,6 @@ public function handleApproval(): StreamInterface|array
/**
* Undocumented function
*
* @param float $value
* @param string $currency
* @param string $paymentMethod
* @return StreamInterface|array
*
* @throws GuzzleException
*/
Expand All @@ -106,8 +96,6 @@ public function createIntent(float $value, string $currency, string $paymentMeth
/**
* Undocumented function
*
* @param string $paymentIntentId
* @return StreamInterface|array
*
* @throws GuzzleException
*/
Expand Down
7 changes: 0 additions & 7 deletions src/Traits/ConsumeExternalServices.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ trait ConsumeExternalServices
/**
* makeRequest
*
* @param string $method
* @param string $requestUrl
* @param array $queryParams
* @param array $formParams
* @param array $headers
* @param bool $isJsonRequest
* @return StreamInterface|array
*
* @throws GuzzleException
*/
Expand Down

0 comments on commit ef5d9e1

Please sign in to comment.