Use PSR-12 code style

This commit is contained in:
James Cole
2022-10-30 14:24:10 +01:00
parent 1667b88dcd
commit 64ff5eed27
28 changed files with 96 additions and 129 deletions

View File

@@ -165,7 +165,8 @@ use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
*/
class User extends Authenticatable
{
use Notifiable, HasApiTokens;
use Notifiable;
use HasApiTokens;
/**
* The attributes that should be cast to native types.
@@ -212,7 +213,7 @@ class User extends Authenticatable
return $user;
}
}
throw new NotFoundHttpException;
throw new NotFoundHttpException();
}
/**
@@ -537,7 +538,7 @@ class User extends Authenticatable
*/
public function userGroup(): BelongsTo
{
return $this->belongsTo(UserGroup::class,);
return $this->belongsTo(UserGroup::class, );
}
/**
@@ -605,5 +606,4 @@ class User extends Authenticatable
}
return app('preferences')->getForUser($this, 'slack_webhook_url', '')->data;
}
}