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

Commit

Permalink
Apply fixes from StyleCI (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
herpaderpaldent authored Nov 10, 2018
1 parent 90e16bd commit af274d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/Exceptions/MissingRefreshTokenException.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ public function __construct(User $user)

parent::__construct($message, 0, null);
}

}
4 changes: 2 additions & 2 deletions src/Jobs/GroupSync.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);
Expand Down

0 comments on commit af274d7

Please sign in to comment.