Completed
Pull Request — master (#440)
by Fatih
50s
created
tests/database/factories/UncachedPublisherFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 use Faker\Generator as Faker;
4 4
 use GeneaLabs\LaravelModelCaching\Tests\Fixtures\UncachedPublisher;
5 5
 
6
-$factory->define(UncachedPublisher::class, function (Faker $faker) {
6
+$factory->define(UncachedPublisher::class, function(Faker $faker) {
7 7
     return [
8 8
         'name' => $faker->name,
9 9
     ];
Please login to merge, or discard this patch.
tests/database/factories/PublisherFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 use Faker\Generator as Faker;
4 4
 use GeneaLabs\LaravelModelCaching\Tests\Fixtures\Publisher;
5 5
 
6
-$factory->define(Publisher::class, function (Faker $faker) {
6
+$factory->define(Publisher::class, function(Faker $faker) {
7 7
     return [
8 8
         'name' => $faker->name,
9 9
     ];
Please login to merge, or discard this patch.
tests/database/factories/ImageFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
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
     ];
Please login to merge, or discard this patch.
tests/database/factories/UncachedBookFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
tests/database/factories/CommentFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
tests/database/factories/TagFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
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
     ];
Please login to merge, or discard this patch.
tests/database/factories/ProfileFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.
tests/database/factories/PrinterFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
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(),
Please login to merge, or discard this patch.
tests/database/factories/BookFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
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,
Please login to merge, or discard this patch.