Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
janyksteenbeek authored and github-actions[bot] committed Feb 22, 2023
1 parent 869fbb5 commit 92de119
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Exceptions/MoneybirdSyncException.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@

class MoneybirdSyncException extends \Exception
{

}
5 changes: 2 additions & 3 deletions src/Traits/IsMoneybirdContact.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Janyk\LaravelMoneybirdSync\Traits;

use Illuminate\Support\Facades\Log;
use Janyk\LaravelMoneybirdSync\Exceptions\MoneybirdSyncException;
use Picqer\Financials\Moneybird\Connection;
use Picqer\Financials\Moneybird\Exceptions\ApiException;
Expand Down Expand Up @@ -44,7 +43,7 @@ public function createOrUpdateMoneybirdContact(): bool
}

// Set the customer ID including the set prefix
$contact->customer_id = config('moneybird-sync.customer_id_prefix') . $this->{$fields['customer_id']};
$contact->customer_id = config('moneybird-sync.customer_id_prefix').$this->{$fields['customer_id']};

// Try saving the contact
try {
Expand Down Expand Up @@ -75,5 +74,5 @@ private function setMoneybirdId(string $id): bool
return $this->saveQuietly();
}

private abstract function saveQuietly(array $options = []);
abstract private function saveQuietly(array $options = []);
}

0 comments on commit 92de119

Please sign in to comment.