Completed
Push — master ( 592491...bcd600 )
by Ando
17:15 queued 03:16
created
app/Providers/RouteServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public function map(Router $router)
39 39
     {
40
-        $router->group(['namespace' => $this->namespace], function ($router) {
40
+        $router->group([ 'namespace' => $this->namespace ], function($router) {
41 41
             require app_path('Http/routes.php');
42 42
         });
43 43
     }
Please login to merge, or discard this patch.
app/Http/Controllers/Auth/AuthController.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      */
38 38
     public function __construct()
39 39
     {
40
-        $this->middleware($this->guestMiddleware(), ['except' => 'logout']);
40
+        $this->middleware($this->guestMiddleware(), [ 'except' => 'logout' ]);
41 41
     }
42 42
 
43 43
     /**
@@ -64,9 +64,9 @@  discard block
 block discarded – undo
64 64
     protected function create(array $data)
65 65
     {
66 66
         return User::create([
67
-            'name' => $data['name'],
68
-            'email' => $data['email'],
69
-            'password' => bcrypt($data['password']),
67
+            'name' => $data[ 'name' ],
68
+            'email' => $data[ 'email' ],
69
+            'password' => bcrypt($data[ 'password' ]),
70 70
         ]);
71 71
     }
72 72
 }
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers\Auth;
4 4
 
5
-use App\User;
6
-use Validator;
7 5
 use App\Http\Controllers\Controller;
8
-use Illuminate\Foundation\Auth\ThrottlesLogins;
6
+use App\User;
9 7
 use Illuminate\Foundation\Auth\AuthenticatesAndRegistersUsers;
8
+use Illuminate\Foundation\Auth\ThrottlesLogins;
9
+use Validator;
10 10
 
11 11
 class AuthController extends Controller
12 12
 {
Please login to merge, or discard this patch.
app/Http/routes.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@  discard block
 block discarded – undo
11 11
 |
12 12
 */
13 13
 
14
-Route::get('/', function () {
15
-    return ['ok'];
14
+Route::get('/', function() {
15
+    return [ 'ok' ];
16 16
 });
17 17
 
18 18
 /*
@@ -26,6 +26,6 @@  discard block
 block discarded – undo
26 26
 |
27 27
 */
28 28
 
29
-Route::group(['middleware' => ['web']], function () {
29
+Route::group([ 'middleware' => [ 'web' ] ], function() {
30 30
     //
31 31
 });
Please login to merge, or discard this patch.
database/migrations/2014_10_12_000000_create_users_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('users', function (Blueprint $table) {
15
+        Schema::create('users', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->string('email')->unique();
Please login to merge, or discard this patch.
database/migrations/2014_10_12_100000_create_password_resets_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('password_resets', function (Blueprint $table) {
15
+        Schema::create('password_resets', function(Blueprint $table) {
16 16
             $table->string('email')->index();
17 17
             $table->string('token')->index();
18 18
             $table->timestamp('created_at');
Please login to merge, or discard this patch.
database/factories/ModelFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 |
12 12
 */
13 13
 
14
-$factory->define(App\User::class, function (Faker\Generator $faker) {
14
+$factory->define(App\User::class, function(Faker\Generator $faker) {
15 15
     return [
16 16
         'name' => $faker->name,
17 17
         'email' => $faker->safeEmail,
Please login to merge, or discard this patch.
resources/lang/en/validation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,6 +105,6 @@
 block discarded – undo
105 105
     |
106 106
     */
107 107
 
108
-    'attributes' => [],
108
+    'attributes' => [ ],
109 109
 
110 110
 ];
Please login to merge, or discard this patch.
config/mail.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     |
55 55
     */
56 56
 
57
-    'from' => ['address' => null, 'name' => null],
57
+    'from' => [ 'address' => null, 'name' => null ],
58 58
 
59 59
     /*
60 60
     |--------------------------------------------------------------------------
Please login to merge, or discard this patch.
config/session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@
 block discarded – undo
96 96
     |
97 97
     */
98 98
 
99
-    'lottery' => [2, 100],
99
+    'lottery' => [ 2, 100 ],
100 100
 
101 101
     /*
102 102
     |--------------------------------------------------------------------------
Please login to merge, or discard this patch.