diff --git a/src/Exceptions/MoneybirdSyncException.php b/src/Exceptions/MoneybirdSyncException.php index 2e02200..cfd72ec 100644 --- a/src/Exceptions/MoneybirdSyncException.php +++ b/src/Exceptions/MoneybirdSyncException.php @@ -4,5 +4,4 @@ class MoneybirdSyncException extends \Exception { - } diff --git a/src/Traits/IsMoneybirdContact.php b/src/Traits/IsMoneybirdContact.php index 9c8b845..564ec59 100644 --- a/src/Traits/IsMoneybirdContact.php +++ b/src/Traits/IsMoneybirdContact.php @@ -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; @@ -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 { @@ -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 = []); }