diff --git a/src/Exceptions/MissingRefreshTokenException.php b/src/Exceptions/MissingRefreshTokenException.php index 3526f89..42bab1a 100644 --- a/src/Exceptions/MissingRefreshTokenException.php +++ b/src/Exceptions/MissingRefreshTokenException.php @@ -20,5 +20,4 @@ public function __construct(User $user) parent::__construct($message, 0, null); } - } diff --git a/src/Jobs/GroupSync.php b/src/Jobs/GroupSync.php index 9eb7cc4..aad06b3 100644 --- a/src/Jobs/GroupSync.php +++ b/src/Jobs/GroupSync.php @@ -161,7 +161,7 @@ public function beforeStart() 'event' => 'error', 'message' => sprintf('The RefreshToken of %s is missing, therefore user group of %s (%s) loses all permissions.' . 'Ask the owner of this user group to login again with this user, in order to provide a new RefreshToken. ', - $user->name, $this->main_character->name, $this->group->users->map(function ($user) {return $user->name;})->implode(', ')), + $user->name, $this->main_character->name, $this->group->users->map(function ($user) {return $user->name; })->implode(', ')), ]); // throw exception @@ -182,7 +182,7 @@ public function onFail($exception) SeatgroupLog::create([ 'event' => 'error', 'message' => sprintf('An error occurred while syncing user group of %s (%s). Please check the logs.', - $this->main_character->name, $this->group->users->map(function ($user) {return $user->name;})->implode(', ')), + $this->main_character->name, $this->group->users->map(function ($user) {return $user->name; })->implode(', ')), ]); $this->fail($exception);