Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
dsevillamartin authored and StyleCIBot committed Dec 13, 2019
1 parent ce85342 commit 869e8c3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Console/UpdateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ public function info($string, $verbosity = null)
parent::info($this->prefix.' | '.$string, $verbosity);
}

protected function getUsersManaging(Builder $usersWithEmail) {
protected function getUsersManaging(Builder $usersWithEmail)
{
$setting = $this->settings->get('fof-open-collective.users');
$users = $setting != null
? collect(json_decode($setting))
Expand All @@ -169,7 +170,8 @@ protected function getUsersManaging(Builder $usersWithEmail) {
return $users;
}

protected function updateUsersManaging(Collection $users) {
protected function updateUsersManaging(Collection $users)
{
$this->settings->set('fof-open-collective.users', $users->values()->unique()->toJson());
}
}

0 comments on commit 869e8c3

Please sign in to comment.