Completed
Push — master ( 0af765...4a87b5 )
by claudio
03:49
created
database/seeds/InitSeeder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,14 +33,14 @@
 block discarded – undo
33 33
 
34 34
     static private function company()
35 35
     {
36
-        factory(plunner\Company::class, 10)->create()->each(function ($company) {
36
+        factory(plunner\Company::class, 10)->create()->each(function($company) {
37 37
             self::employees($company);
38 38
         });
39 39
     }
40 40
 
41 41
     static private function employees($company)
42 42
     {
43
-        factory(plunner\Employee::class, 3)->make()->each(function ($employee) use($company){
43
+        factory(plunner\Employee::class, 3)->make()->each(function($employee) use($company){
44 44
             $company->employees()->save($employee);
45 45
         });
46 46
     }
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
@@ -104,6 +104,6 @@
 block discarded – undo
104 104
     |
105 105
     */
106 106
 
107
-    'attributes' => [],
107
+    'attributes' => [ ],
108 108
 
109 109
 ];
Please login to merge, or discard this patch.
server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
  */
9 9
 
10 10
 $uri = urldecode(
11
-    parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
11
+    parse_url($_SERVER[ 'REQUEST_URI' ], PHP_URL_PATH)
12 12
 );
13 13
 
14 14
 // This file allows us to emulate Apache's "mod_rewrite" functionality from the
Please login to merge, or discard this patch.
app/Company.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,14 +51,14 @@
 block discarded – undo
51 51
      *
52 52
      * @var array
53 53
      */
54
-    protected $fillable = ['name', 'email', 'password'];
54
+    protected $fillable = [ 'name', 'email', 'password' ];
55 55
 
56 56
     /**
57 57
      * The attributes excluded from the model's JSON form.
58 58
      *
59 59
      * @var array
60 60
      */
61
-    protected $hidden = ['password', 'remember_token'];
61
+    protected $hidden = [ 'password', 'remember_token' ];
62 62
 
63 63
     public function company()
64 64
     {
Please login to merge, or discard this patch.
config/cors.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 block discarded – undo
12 12
      |
13 13
      */
14 14
     'supportsCredentials' => false,
15
-    'allowedOrigins' => ['*'],
16
-    'allowedHeaders' => ['*'],
17
-    'allowedMethods' => ['GET', 'POST', 'PUT',  'DELETE'],
18
-    'exposedHeaders' => ['authorization'],
15
+    'allowedOrigins' => [ '*' ],
16
+    'allowedHeaders' => [ '*' ],
17
+    'allowedMethods' => [ 'GET', 'POST', 'PUT', 'DELETE' ],
18
+    'exposedHeaders' => [ 'authorization' ],
19 19
     'maxAge' => 0,
20
-    'hosts' => [],
20
+    'hosts' => [ ],
21 21
 ];
22 22
 
Please login to merge, or discard this patch.
app/Http/Controllers/Companies/EmployeesController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
      */
21 21
     public function __construct()
22 22
     {
23
-        config(['auth.model' => \plunner\Company::class]);
24
-        config(['jwt.user' => \plunner\Company::class]);
23
+        config([ 'auth.model' => \plunner\Company::class ]);
24
+        config([ 'jwt.user' => \plunner\Company::class ]);
25 25
         $this->middleware('jwt.authandrefresh:mode-cn');
26 26
     }
27 27
 
Please login to merge, or discard this patch.