From 8c6704faa43845cf023ff373b22f184c23ba040d Mon Sep 17 00:00:00 2001 From: philipp lang <philipp@aweos.de> Date: Sat, 12 Feb 2022 01:10:29 +0100 Subject: [PATCH] Lint --- database/factories/CountryFactory.php | 6 +----- database/factories/Course/Models/CourseFactory.php | 5 ----- database/factories/FeeFactory.php | 6 +----- database/factories/GroupFactory.php | 6 +----- database/factories/Member/MemberFactory.php | 6 +----- database/factories/NationalityFactory.php | 6 +----- 6 files changed, 5 insertions(+), 30 deletions(-) diff --git a/database/factories/CountryFactory.php b/database/factories/CountryFactory.php index e9cdba03..a1b4042c 100644 --- a/database/factories/CountryFactory.php +++ b/database/factories/CountryFactory.php @@ -7,11 +7,7 @@ use Illuminate\Database\Eloquent\Factories\Factory; class CountryFactory extends Factory { - /** - * The name of the factory's corresponding model. - * - * @var string - */ + protected $model = Country::class; /** diff --git a/database/factories/Course/Models/CourseFactory.php b/database/factories/Course/Models/CourseFactory.php index 2d61a24a..77b0ee61 100644 --- a/database/factories/Course/Models/CourseFactory.php +++ b/database/factories/Course/Models/CourseFactory.php @@ -11,11 +11,6 @@ use Illuminate\Database\Eloquent\Factories\Factory; class CourseFactory extends Factory { - /** - * The name of the factory's corresponding model. - * - * @var string - */ public $model = Course::class; /** diff --git a/database/factories/FeeFactory.php b/database/factories/FeeFactory.php index 91b4fd35..abe72525 100644 --- a/database/factories/FeeFactory.php +++ b/database/factories/FeeFactory.php @@ -7,11 +7,7 @@ use Illuminate\Database\Eloquent\Factories\Factory; class FeeFactory extends Factory { - /** - * The name of the factory's corresponding model. - * - * @var string - */ + protected $model = Fee::class; /** diff --git a/database/factories/GroupFactory.php b/database/factories/GroupFactory.php index 5b6e1db5..2e4ebab6 100644 --- a/database/factories/GroupFactory.php +++ b/database/factories/GroupFactory.php @@ -7,11 +7,7 @@ use Illuminate\Database\Eloquent\Factories\Factory; class GroupFactory extends Factory { - /** - * The name of the factory's corresponding model. - * - * @var string - */ + protected $model = Group::class; /** diff --git a/database/factories/Member/MemberFactory.php b/database/factories/Member/MemberFactory.php index f85e36d6..033a6e48 100644 --- a/database/factories/Member/MemberFactory.php +++ b/database/factories/Member/MemberFactory.php @@ -16,11 +16,7 @@ use Illuminate\Database\Eloquent\Factories\Factory; */ class MemberFactory extends Factory { - /** - * The name of the factory's corresponding model. - * - * @var string - */ + protected $model = Member::class; /** diff --git a/database/factories/NationalityFactory.php b/database/factories/NationalityFactory.php index ea62e143..082a5a2f 100644 --- a/database/factories/NationalityFactory.php +++ b/database/factories/NationalityFactory.php @@ -7,11 +7,7 @@ use Illuminate\Database\Eloquent\Factories\Factory; class NationalityFactory extends Factory { - /** - * The name of the factory's corresponding model. - * - * @var string - */ + protected $model = Nationality::class; /**