From 2a3743b0fad84dbe78f8918420ff48545e04ab92 Mon Sep 17 00:00:00 2001 From: Ben Sampson Date: Mon, 26 Oct 2015 13:21:38 +0000 Subject: [PATCH] PSR-2 formatting of User model? > Lists of implements MAY be split across multiple lines, where each subsequent line is indented once. When doing so, the first item in the list MUST be on the next line, and there MUST be only one interface per line. https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md#41-extends-and-implements --- app/User.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/User.php b/app/User.php index 9f1e7481..304d5acc 100644 --- a/app/User.php +++ b/app/User.php @@ -10,9 +10,10 @@ use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract; use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract; use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract; -class User extends Model implements AuthenticatableContract, - AuthorizableContract, - CanResetPasswordContract +class User extends Model implements + AuthenticatableContract, + AuthorizableContract, + CanResetPasswordContract { use Authenticatable, Authorizable, CanResetPassword;