Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinGab authored and actions-user committed Apr 21, 2021
1 parent 5a14722 commit bac1604
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Traits/HasMangopayUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function mangopayPivot()
*/
public function hasMangopayUser(): bool
{
return !!$this->mangopayPivot;
return ! ! $this->mangopayPivot;
}

public function scopeHasMangopayUser(Builder $query, $value): Builder
Expand Down Expand Up @@ -112,7 +112,7 @@ public function createMangopayUser(array $data = [])
public function updateMangopayUser(array $data = [])
{
$pivot = $this->mangopayPivot;
if (!$pivot) {
if (! $pivot) {
throw MangopayUserException::mangopayUserIdNotFound(get_class($this));
}

Expand Down

0 comments on commit bac1604

Please sign in to comment.