Skip to content

Commit

Permalink
fix styleCi
Browse files Browse the repository at this point in the history
  • Loading branch information
khanzadimahdi committed Jun 19, 2019
1 parent 79af420 commit ab4df28
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/Drivers/Payir.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function __construct(Invoice $invoice, $settings)
*/
private function extractDetails($name)
{
return empty($this->invoice->getDetails()[$name]) ? null : $this->invoice->getDetails()[$name];
return empty($this->invoice->getDetails()[$name]) ? null : $this->invoice->getDetails()[$name];
}

/**
Expand All @@ -61,9 +61,9 @@ private function extractDetails($name)
*/
public function purchase()
{
$mobile = $this->extract('mobile');
$description = $this->extract('description');
$factorNumber = $this->extract('factorNumber');
$mobile = $this->extract('mobile');
$description = $this->extract('description');
$factorNumber = $this->extract('factorNumber');

$data = array(
'api' => $this->settings->merchantId,
Expand Down
8 changes: 4 additions & 4 deletions src/Drivers/Payping.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function __construct(Invoice $invoice, $settings)
*/
private function extractDetails($name)
{
return empty($this->invoice->getDetails()[$name]) ? null : $this->invoice->getDetails()[$name];
return empty($this->invoice->getDetails()[$name]) ? null : $this->invoice->getDetails()[$name];
}

/**
Expand All @@ -61,9 +61,9 @@ private function extractDetails($name)
*/
public function purchase()
{
$mobile = $this->extract('mobile');
$description = $this->extract('description');
$factorNumber = $this->extract('factorNumber');
$mobile = $this->extract('mobile');
$description = $this->extract('description');
$factorNumber = $this->extract('factorNumber');

$data = array(
'api' => $this->settings->merchantId,
Expand Down

0 comments on commit ab4df28

Please sign in to comment.