From 06e0990b6d1f4205dc0a274b3132204753479298 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Wed, 27 Apr 2022 14:08:50 +0000 Subject: [PATCH] Apply fixes from StyleCI --- app/Http/Requests/ValidateRepositoryRequest.php | 2 +- database/factories/RepositoryFactory.php | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Http/Requests/ValidateRepositoryRequest.php b/app/Http/Requests/ValidateRepositoryRequest.php index f7a143b01..cee4f8f9f 100644 --- a/app/Http/Requests/ValidateRepositoryRequest.php +++ b/app/Http/Requests/ValidateRepositoryRequest.php @@ -18,7 +18,7 @@ public function rules() return [ 'description' => 'required|max:50', 'name' => 'required|max:50', - // 'type_id' => 'required|max:20', + // 'type_id' => 'required|max:20', 'date' => 'required|max:24', 'is_active' => 'boolean', ]; diff --git a/database/factories/RepositoryFactory.php b/database/factories/RepositoryFactory.php index 57cbb3627..f06685625 100644 --- a/database/factories/RepositoryFactory.php +++ b/database/factories/RepositoryFactory.php @@ -42,11 +42,11 @@ public function definition() 'www' => $this->faker->url(), 'name' => $this->faker->name(), 'description' => $this->faker->text(50), - // 'type_id' => Type::create([ - // 'name' => $this->faker->word(), - // 'description' => $this->faker->text(50), - // 'is_active' => $this->faker->randomDigit('0', '1'), - // ])->id, + // 'type_id' => Type::create([ + // 'name' => $this->faker->word(), + // 'description' => $this->faker->text(50), + // 'is_active' => $this->faker->randomDigit('0', '1'), + // ])->id, 'is_active' => $this->faker->randomDigit('0', '1'), ]; }