@@ -3,7 +3,7 @@ |
||
3 | 3 | use Faker\Generator as Faker; |
4 | 4 | use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Image; |
5 | 5 | |
6 | -$factory->define(Image::class, function (Faker $faker) { |
|
6 | +$factory->define(Image::class, function(Faker $faker) { |
|
7 | 7 | return [ |
8 | 8 | 'path' => $faker->imageUrl(), |
9 | 9 | ]; |
@@ -4,7 +4,7 @@ |
||
4 | 4 | use GeneaLabs\LaravelModelCaching\Tests\Fixtures\UncachedBook; |
5 | 5 | use GeneaLabs\LaravelModelCaching\Tests\Fixtures\UncachedPublisher; |
6 | 6 | |
7 | -$factory->define(UncachedBook::class, function (Faker $faker) { |
|
7 | +$factory->define(UncachedBook::class, function(Faker $faker) { |
|
8 | 8 | return [ |
9 | 9 | "author_id" => 1, |
10 | 10 | 'title' => $faker->title, |
@@ -3,7 +3,7 @@ |
||
3 | 3 | use Faker\Generator as Faker; |
4 | 4 | use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Comment; |
5 | 5 | |
6 | -$factory->define(Comment::class, function (Faker $faker) { |
|
6 | +$factory->define(Comment::class, function(Faker $faker) { |
|
7 | 7 | return [ |
8 | 8 | 'description' => $faker->paragraphs(3, true), |
9 | 9 | 'subject' => $faker->sentence, |
@@ -3,7 +3,7 @@ |
||
3 | 3 | use Faker\Generator as Faker; |
4 | 4 | use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Tag; |
5 | 5 | |
6 | -$factory->define(Tag::class, function (Faker $faker) { |
|
6 | +$factory->define(Tag::class, function(Faker $faker) { |
|
7 | 7 | return [ |
8 | 8 | 'name' => $faker->word, |
9 | 9 | ]; |
@@ -3,7 +3,7 @@ |
||
3 | 3 | use Faker\Generator as Faker; |
4 | 4 | use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Profile; |
5 | 5 | |
6 | -$factory->define(Profile::class, function (Faker $faker) { |
|
6 | +$factory->define(Profile::class, function(Faker $faker) { |
|
7 | 7 | return [ |
8 | 8 | 'first_name' => $faker->firstName, |
9 | 9 | 'last_name' => $faker->lastName, |
@@ -4,7 +4,7 @@ |
||
4 | 4 | use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Book; |
5 | 5 | use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Printer; |
6 | 6 | |
7 | -$factory->define(Printer::class, function (Faker $faker) { |
|
7 | +$factory->define(Printer::class, function(Faker $faker) { |
|
8 | 8 | return [ |
9 | 9 | "book_id" => factory(Book::class)->create()->id, |
10 | 10 | 'name' => $faker->realText(), |
@@ -5,7 +5,7 @@ |
||
5 | 5 | use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Book; |
6 | 6 | use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Publisher; |
7 | 7 | |
8 | -$factory->define(Book::class, function (Faker $faker) { |
|
8 | +$factory->define(Book::class, function(Faker $faker) { |
|
9 | 9 | return [ |
10 | 10 | "author_id" => 1, |
11 | 11 | 'title' => $faker->title, |
@@ -7,7 +7,7 @@ |
||
7 | 7 | { |
8 | 8 | public function up() |
9 | 9 | { |
10 | - Schema::create('printers', function (Blueprint $table) { |
|
10 | + Schema::create('printers', function(Blueprint $table) { |
|
11 | 11 | $table->increments('id'); |
12 | 12 | $table->unsignedInteger('book_id'); |
13 | 13 | $table->timestamps(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('action_events', function (Blueprint $table) { |
|
16 | + Schema::create('action_events', function(Blueprint $table) { |
|
17 | 17 | $table->id(); |
18 | 18 | $table->char('batch_id', 36); |
19 | 19 | $table->unsignedBigInteger('user_id')->index(); |