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/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.
src/Foundation/Services/BootstrapRegistrarService.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
     public function scanDirectories(): array
38 38
     {
39
-        $bootstrap = [];
39
+        $bootstrap = [ ];
40 40
         $modules = \Module::all();
41 41
 
42 42
         foreach ($modules as $module) {
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
                             try {
55 55
                                 if (new $class() instanceof Command) {
56
-                                    $bootstrap['commands'][] = $class;
56
+                                    $bootstrap[ 'commands' ][ ] = $class;
57 57
                                 }
58 58
                             } catch (\Exception $e) {
59 59
                             }
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 
69 69
     private function isPhpFile(string $fileName): bool
70 70
     {
71
-        return strlen($fileName) > 5 && '.php' === ($fileName[-4].$fileName[-3].$fileName[-2].$fileName[-1]);
71
+        return strlen($fileName) > 5 && '.php' === ($fileName[-4 ].$fileName[-3 ].$fileName[-2 ].$fileName[-1 ]);
72 72
     }
73 73
 
74 74
     private function loadBootstrapFromCache()
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
     public function getCommands(): array
86 86
     {
87
-        return $this->loadBootstrapFromCache()['commands'];
87
+        return $this->loadBootstrapFromCache()[ 'commands' ];
88 88
     }
89 89
 
90 90
     public function getCachePath(): string
Please login to merge, or discard this patch.