@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - Schema::create('artworks', function (Blueprint $table) { |
|
21 | + Schema::create('artworks', function(Blueprint $table) { |
|
22 | 22 | $table->increments('id'); |
23 | 23 | $table->string('source'); |
24 | 24 | $table->string('origin')->nullable(); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - Schema::create('artwork_specifications', function (Blueprint $table) { |
|
21 | + Schema::create('artwork_specifications', function(Blueprint $table) { |
|
22 | 22 | $table->increments('id'); |
23 | 23 | |
24 | 24 | $table->string('name'); |
@@ -67,7 +67,7 @@ |
||
67 | 67 | // be default give all users developer access in addition to the client role which is normal |
68 | 68 | $this->assignRoleTask->run($user, ['client', 'developer']); |
69 | 69 | |
70 | - // add Client as role for normal users |
|
70 | + // add Client as role for normal users |
|
71 | 71 | $this->fireUserCreatedEventTask->run($user); |
72 | 72 | |
73 | 73 | return $user; |
@@ -2,7 +2,7 @@ |
||
2 | 2 | |
3 | 3 | use Illuminate\Support\Facades\Hash; |
4 | 4 | |
5 | -$factory->define(App\Containers\User\Models\User::class, function (Faker\Generator $faker) { |
|
5 | +$factory->define(App\Containers\User\Models\User::class, function(Faker\Generator $faker) { |
|
6 | 6 | |
7 | 7 | return [ |
8 | 8 | 'name' => $faker->name, |
@@ -26,7 +26,7 @@ |
||
26 | 26 | |
27 | 27 | $ext = $file->getExtension(); |
28 | 28 | |
29 | - if(!$ext){ |
|
29 | + if (!$ext) { |
|
30 | 30 | $ext = pathinfo($file->getClientOriginalName())['extension']; |
31 | 31 | } |
32 | 32 |
@@ -3,7 +3,7 @@ |
||
3 | 3 | use App\Containers\Excel\Models\ExcelMapper; |
4 | 4 | use App\Containers\User\Models\User; |
5 | 5 | |
6 | -$factory->define(ExcelMapper::class, function (Faker\Generator $faker) { |
|
6 | +$factory->define(ExcelMapper::class, function(Faker\Generator $faker) { |
|
7 | 7 | return [ |
8 | 8 | 'name' => $faker->name(), |
9 | 9 | 'note' => $faker->text(10), |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - Schema::create('excel_mappers', function (Blueprint $table) { |
|
21 | + Schema::create('excel_mappers', function(Blueprint $table) { |
|
22 | 22 | $table->increments('id'); |
23 | 23 | |
24 | 24 | $table->string('name'); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - Schema::create('excel_fields', function (Blueprint $table) { |
|
21 | + Schema::create('excel_fields', function(Blueprint $table) { |
|
22 | 22 | $table->increments('id'); |
23 | 23 | |
24 | 24 | $table->string('name')->unique(); |
@@ -18,7 +18,7 @@ |
||
18 | 18 | */ |
19 | 19 | public function up() |
20 | 20 | { |
21 | - Schema::create('excel_files', function (Blueprint $table) { |
|
21 | + Schema::create('excel_files', function(Blueprint $table) { |
|
22 | 22 | $table->increments('id'); |
23 | 23 | |
24 | 24 | $table->string('full_path'); |