Completed
Push — master ( f7b1d9...1d2285 )
by Sergi Tur
26:58
created
src/Console/AdminLTEAdmin.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,8 +29,8 @@  discard block
 block discarded – undo
29 29
     public function handle()
30 30
     {
31 31
         $this->create_admin_user();
32
-        $this->info('User ' . $this->username() . '(' . $this->email() . ') ' .
33
-            $this->passwordInfo() . ' created succesfully!');
32
+        $this->info('User '.$this->username().'('.$this->email().') '.
33
+            $this->passwordInfo().' created succesfully!');
34 34
         $this->call('make:adminUserSeeder');
35 35
         $this->info('A database seed has been created to permanently add admin user to database.');
36 36
     }
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
             factory(App\User::class)->create([
45 45
                     "name" => env('ADMIN_USER', $this->username()),
46 46
                     "email" => env('ADMIN_EMAIL', $this->email()),
47
-                    "password" => bcrypt(env('ADMIN_PWD', '123456'))]
47
+                    "password" => bcrypt(env('ADMIN_PWD', '123456')) ]
48 48
             );
49 49
         } catch (\Illuminate\Database\QueryException $exception) {
50 50
 
Please login to merge, or discard this patch.
src/Console/stubs/AdminUserSeeder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
             factory(App\User::class)->create([
19 19
                     "name" => env('ADMIN_USER', "$USER_NAME$"),
20 20
                     "email" => env('ADMIN_EMAIL', "$USER_EMAIL"),
21
-                    "password" => bcrypt(env('ADMIN_PWD', '123456'))]
21
+                    "password" => bcrypt(env('ADMIN_PWD', '123456')) ]
22 22
             );
23 23
         } catch (\Illuminate\Database\QueryException $exception) {
24 24
 
Please login to merge, or discard this patch.
src/Console/MakeAdminUserSeeder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     {
65 65
         try {
66 66
             $this->filesystem->overwrite(
67
-                $path = database_path('seeds/' . config('AdminUserSeeder', 'AdminUserSeeder.php')),
67
+                $path = database_path('seeds/'.config('AdminUserSeeder', 'AdminUserSeeder.php')),
68 68
                 $this->compiler->compile(
69 69
                     $this->filesystem->get($this->getStubPath()),
70 70
                     [
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
                     ]
74 74
                 )
75 75
             );
76
-            $this->info('File ' . $path . ' created');
76
+            $this->info('File '.$path.' created');
77 77
         } catch (\Exception $e) {
78 78
             print_r($e->getMessage());
79 79
         }
@@ -86,6 +86,6 @@  discard block
 block discarded – undo
86 86
      */
87 87
     protected function getStubPath()
88 88
     {
89
-        return __DIR__ . '/stubs/AdminUserSeeder.php';
89
+        return __DIR__.'/stubs/AdminUserSeeder.php';
90 90
     }
91 91
 }
Please login to merge, or discard this patch.