We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -32,8 +32,8 @@ |
||
| 32 | 32 | { |
| 33 | 33 | return $this->view('email.boasvindas') |
| 34 | 34 | ->with([ |
| 35 | - 'Nome' => $this->user->name, |
|
| 36 | - 'UserName' => $this->user->username, |
|
| 37 | - ]); |
|
| 35 | + 'Nome' => $this->user->name, |
|
| 36 | + 'UserName' => $this->user->username, |
|
| 37 | + ]); |
|
| 38 | 38 | } |
| 39 | 39 | } |
@@ -18,5 +18,5 @@ |
||
| 18 | 18 | * |
| 19 | 19 | * @var array |
| 20 | 20 | */ |
| 21 | - protected $filliable = ['titulo', 'conteudo', 'autor_id']; |
|
| 21 | + protected $filliable = [ 'titulo', 'conteudo', 'autor_id' ]; |
|
| 22 | 22 | } |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | protected function unauthenticated($request, AuthenticationException $exception) |
| 58 | 58 | { |
| 59 | 59 | if ($request->expectsJson()) { |
| 60 | - return response()->json(['error' => 'Unauthenticated.'], 401); |
|
| 60 | + return response()->json([ 'error' => 'Unauthenticated.' ], 401); |
|
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | return redirect()->guest('login'); |
@@ -67,10 +67,10 @@ |
||
| 67 | 67 | { |
| 68 | 68 | return User::create( |
| 69 | 69 | [ |
| 70 | - 'name' => $data['name'], |
|
| 71 | - 'email' => $data['email'], |
|
| 72 | - 'username' => $data['username'], |
|
| 73 | - 'password' => bcrypt($data['password']), |
|
| 70 | + 'name' => $data[ 'name' ], |
|
| 71 | + 'email' => $data[ 'email' ], |
|
| 72 | + 'username' => $data[ 'username' ], |
|
| 73 | + 'password' => bcrypt($data[ 'password' ]), |
|
| 74 | 74 | ] |
| 75 | 75 | ); |
| 76 | 76 | |
@@ -34,6 +34,6 @@ |
||
| 34 | 34 | */ |
| 35 | 35 | public function __construct() |
| 36 | 36 | { |
| 37 | - $this->middleware('guest', ['except' => 'logout']); |
|
| 37 | + $this->middleware('guest', [ 'except' => 'logout' ]); |
|
| 38 | 38 | } |
| 39 | 39 | } |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | * Authenticate the user's personal channel... |
| 21 | 21 | */ |
| 22 | 22 | Broadcast::channel( |
| 23 | - 'App.User.*', function ($user, $userId) { |
|
| 23 | + 'App.User.*', function($user, $userId) { |
|
| 24 | 24 | return (int) $user->id === (int) $userId; |
| 25 | 25 | } |
| 26 | 26 | ); |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | [ |
| 56 | 56 | 'middleware' => 'web', |
| 57 | 57 | 'namespace' => $this->namespace, |
| 58 | - ], function ($router) { |
|
| 58 | + ], function($router) { |
|
| 59 | 59 | include base_path('routes/web.php'); |
| 60 | 60 | } |
| 61 | 61 | ); |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | 'middleware' => 'api', |
| 76 | 76 | 'namespace' => $this->namespace, |
| 77 | 77 | 'prefix' => 'api', |
| 78 | - ], function ($router) { |
|
| 78 | + ], function($router) { |
|
| 79 | 79 | include base_path('routes/api.php'); |
| 80 | 80 | } |
| 81 | 81 | ); |