Completed
Push — master ( 0f9c0f...660c80 )
by Arthur
09:15
created
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
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('users', function (Blueprint $table) {
16
+        Schema::create('users', function(Blueprint $table) {
17 17
             $table->increments('id');
18 18
             $table->string('name');
19 19
             $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
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      */
14 14
     public function up()
15 15
     {
16
-        Schema::create('password_resets', function (Blueprint $table) {
16
+        Schema::create('password_resets', function(Blueprint $table) {
17 17
             $table->string('email')->index();
18 18
             $table->string('token');
19 19
             $table->timestamp('created_at')->nullable();
Please login to merge, or discard this patch.
database/factories/UserFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 |
14 14
 */
15 15
 
16
-$factory->define(App\User::class, function (Faker $faker) {
16
+$factory->define(App\User::class, function(Faker $faker) {
17 17
     return [
18 18
         'name'              => $faker->name,
19 19
         'email'             => $faker->unique()->safeEmail,
Please login to merge, or discard this patch.
src/Foundation/Providers/RouteServiceProvider.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -50,8 +50,8 @@  discard block
 block discarded – undo
50 50
     protected function mapWebRoutes()
51 51
     {
52 52
         Route::middleware('web')
53
-             ->namespace($this->namespace)
54
-             ->group(base_path('routes/web.php'));
53
+                ->namespace($this->namespace)
54
+                ->group(base_path('routes/web.php'));
55 55
     }
56 56
 
57 57
     /**
@@ -64,8 +64,8 @@  discard block
 block discarded – undo
64 64
     protected function mapApiRoutes()
65 65
     {
66 66
         Route::prefix('api')
67
-             ->middleware('api')
68
-             ->namespace($this->namespace)
69
-             ->group(base_path('routes/api.php'));
67
+                ->middleware('api')
68
+                ->namespace($this->namespace)
69
+                ->group(base_path('routes/api.php'));
70 70
     }
71 71
 }
Please login to merge, or discard this patch.
src/Foundation/Abstracts/Migrations/MongoMigration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     final public function up()
39 39
     {
40 40
         if (!Schema::connection($this->connection)->hasTable($this->collection)) {
41
-            Schema::connection($this->connection)->create($this->collection, function (Blueprint $collection) {
41
+            Schema::connection($this->connection)->create($this->collection, function(Blueprint $collection) {
42 42
                 $this->migrate($collection);
43 43
             });
44 44
         }
Please login to merge, or discard this patch.
src/Modules/User/Providers/UserServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,9 +68,9 @@  discard block
 block discarded – undo
68 68
             $sourcePath => $viewPath,
69 69
         ], 'views');
70 70
 
71
-        $this->loadViewsFrom(array_merge(array_map(function ($path) {
71
+        $this->loadViewsFrom(array_merge(array_map(function($path) {
72 72
             return $path.'/modules/user';
73
-        }, \Config::get('view.paths')), [$sourcePath]), 'user');
73
+        }, \Config::get('view.paths')), [ $sourcePath ]), 'user');
74 74
     }
75 75
 
76 76
     /**
@@ -108,6 +108,6 @@  discard block
 block discarded – undo
108 108
      */
109 109
     public function provides()
110 110
     {
111
-        return [];
111
+        return [ ];
112 112
     }
113 113
 }
Please login to merge, or discard this patch.
src/Modules/User/Routes/web.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,6 +11,6 @@
 block discarded – undo
11 11
 |
12 12
 */
13 13
 
14
-Route::prefix('user')->group(function () {
14
+Route::prefix('user')->group(function() {
15 15
     Route::get('/', 'UserController@index');
16 16
 });
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
@@ -141,6 +141,6 @@
 block discarded – undo
141 141
     |
142 142
     */
143 143
 
144
-    'attributes' => [],
144
+    'attributes' => [ ],
145 145
 
146 146
 ];
Please login to merge, or discard this patch.
src/Modules/User/Routes/api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
 |
14 14
 */
15 15
 
16
-Route::middleware('auth:api')->get('/user', function (Request $request) {
16
+Route::middleware('auth:api')->get('/user', function(Request $request) {
17 17
     return $request->user();
18 18
 });
Please login to merge, or discard this patch.