Completed
Push — master ( e792c1...df17fb )
by claudio
03:48
created
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' => [],
15
+    'allowedOrigins' => [ '*' ],
16
+    'allowedHeaders' => [ '*' ],
17
+    'allowedMethods' => [ 'GET', 'POST', 'PUT', 'DELETE' ],
18
+    'exposedHeaders' => [ ],
19 19
     'maxAge' => 0,
20
-    'hosts' => [],
20
+    'hosts' => [ ],
21 21
 ];
22 22
 
Please login to merge, or discard this patch.
config/jwt.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     |
90 90
     */
91 91
 
92
-    'required_claims' => ['iss', 'iat', 'exp', 'nbf', 'sub', 'jti'],
92
+    'required_claims' => [ 'iss', 'iat', 'exp', 'nbf', 'sub', 'jti' ],
93 93
 
94 94
     /*
95 95
     |--------------------------------------------------------------------------
@@ -146,8 +146,8 @@  discard block
 block discarded – undo
146 146
         |
147 147
         */
148 148
 
149
-        'auth' => function ($app) {
150
-            return new Tymon\JWTAuth\Providers\Auth\IlluminateAuthAdapter($app['auth']);
149
+        'auth' => function($app) {
150
+            return new Tymon\JWTAuth\Providers\Auth\IlluminateAuthAdapter($app[ 'auth' ]);
151 151
         },
152 152
 
153 153
         /*
@@ -159,8 +159,8 @@  discard block
 block discarded – undo
159 159
         |
160 160
         */
161 161
 
162
-        'storage' => function ($app) {
163
-            return new Tymon\JWTAuth\Providers\Storage\IlluminateCacheAdapter($app['cache']);
162
+        'storage' => function($app) {
163
+            return new Tymon\JWTAuth\Providers\Storage\IlluminateCacheAdapter($app[ 'cache' ]);
164 164
         }
165 165
 
166 166
     ]
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' => '[email protected]', 'name' => 'plunner info'],
57
+    'from' => [ 'address' => '[email protected]', 'name' => 'plunner info' ],
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.
database/factories/ModelFactory.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 |
12 12
 */
13 13
 
14
-$factory->define(plunner\Company::class, function (Faker\Generator $faker) {
14
+$factory->define(plunner\Company::class, function(Faker\Generator $faker) {
15 15
     return [
16 16
         'name' => $faker->name,
17 17
         'email' => $faker->email,
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 });
22 22
 
23 23
 
24
-$factory->define(plunner\Employee::class, function (Faker\Generator $faker) {
24
+$factory->define(plunner\Employee::class, function(Faker\Generator $faker) {
25 25
     return [
26 26
         'name' => $faker->name,
27 27
         'email' => $faker->email,
Please login to merge, or discard this patch.
database/migrations/2014_10_12_000000_create_companies_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('companies', function (Blueprint $table) {
15
+        Schema::create('companies', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name')->unique();
18 18
             $table->string('email')->unique();
Please login to merge, or discard this patch.
migrations/2014_10_12_100000_create_password_resets_companies_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_companies', function (Blueprint $table) {
15
+        Schema::create('password_resets_companies', 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/migrations/2015_11_17_140638_create_employees_table.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function up()
14 14
     {
15
-        Schema::create('employees', function (Blueprint $table) {
15
+        Schema::create('employees', function(Blueprint $table) {
16 16
             $table->increments('id');
17 17
             $table->string('name');
18 18
             $table->string('email');
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
             $table->foreign('company_id')->references('id')->on('companies')->onDelete('cascade')->onUpdate('cascade');
22 22
             $table->rememberToken();
23 23
             $table->timestamps();
24
-            $table->unique(['email', 'company_id']);
24
+            $table->unique([ 'email', 'company_id' ]);
25 25
         });
26 26
     }
27 27
 
Please login to merge, or discard this patch.
migrations/2015_11_17_140639_create_password_resets_employees_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_employees', function (Blueprint $table) {
15
+        Schema::create('password_resets_employees', 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.