From 864dcb8e0a019f7e5598667254252099b75decaf Mon Sep 17 00:00:00 2001 From: Todd Rogers Date: Tue, 2 Jan 2024 19:25:15 -0500 Subject: [PATCH] Fix for Seed data scripts --- bin/deploy.sh | 0 config/Seeds/BaseTypesSeed.php | 2 +- config/Seeds/CoursesSeed.php | 2 +- config/Seeds/DifficultiesSeed.php | 2 +- config/Seeds/EthnicitiesSeed.php | 2 +- config/Seeds/IngredientsSeed.php | 2 +- config/Seeds/LocationsSeed.php | 2 +- config/Seeds/MealNamesSeed.php | 2 +- config/Seeds/PreparationMethodsSeed.php | 2 +- config/Seeds/PreparationTimesSeed.php | 2 +- config/Seeds/PriceRangesSeed.php | 2 +- config/Seeds/StoresSeed.php | 2 +- config/Seeds/UnitsSeed.php | 2 +- config/Seeds/UsersSeed.php | 2 +- 14 files changed, 13 insertions(+), 13 deletions(-) mode change 100644 => 100755 bin/deploy.sh diff --git a/bin/deploy.sh b/bin/deploy.sh old mode 100644 new mode 100755 diff --git a/config/Seeds/BaseTypesSeed.php b/config/Seeds/BaseTypesSeed.php index ab4e479..478c125 100644 --- a/config/Seeds/BaseTypesSeed.php +++ b/config/Seeds/BaseTypesSeed.php @@ -16,7 +16,7 @@ class BaseTypesSeed extends AbstractSeed * * @return void */ - public function run() + public function run() : void { $data = [ [ diff --git a/config/Seeds/CoursesSeed.php b/config/Seeds/CoursesSeed.php index f7031b9..9d1d03b 100644 --- a/config/Seeds/CoursesSeed.php +++ b/config/Seeds/CoursesSeed.php @@ -16,7 +16,7 @@ class CoursesSeed extends AbstractSeed * * @return void */ - public function run() + public function run() : void { $data = [ diff --git a/config/Seeds/DifficultiesSeed.php b/config/Seeds/DifficultiesSeed.php index 3ccb4d3..9cf81b2 100644 --- a/config/Seeds/DifficultiesSeed.php +++ b/config/Seeds/DifficultiesSeed.php @@ -3,7 +3,7 @@ class DifficultiesSeed extends AbstractSeed { - public function run() + public function run() : void { $data = [ ['name' => __('Easy')], diff --git a/config/Seeds/EthnicitiesSeed.php b/config/Seeds/EthnicitiesSeed.php index be39ede..7cfc973 100644 --- a/config/Seeds/EthnicitiesSeed.php +++ b/config/Seeds/EthnicitiesSeed.php @@ -3,7 +3,7 @@ class EthnicitiesSeed extends AbstractSeed { - public function run() + public function run() : void { $data = [ ['name' => __('American')], diff --git a/config/Seeds/IngredientsSeed.php b/config/Seeds/IngredientsSeed.php index e98f7d2..0626d58 100644 --- a/config/Seeds/IngredientsSeed.php +++ b/config/Seeds/IngredientsSeed.php @@ -6,7 +6,7 @@ */ class IngredientsSeed extends AbstractSeed { - public function run() + public function run() : void { $data = [ [ diff --git a/config/Seeds/LocationsSeed.php b/config/Seeds/LocationsSeed.php index 52f56a2..f75337a 100644 --- a/config/Seeds/LocationsSeed.php +++ b/config/Seeds/LocationsSeed.php @@ -3,7 +3,7 @@ class LocationsSeed extends AbstractSeed { - public function run() + public function run() : void { $data = [ ['name' => __('Alcohol')], diff --git a/config/Seeds/MealNamesSeed.php b/config/Seeds/MealNamesSeed.php index 185a571..b36679d 100644 --- a/config/Seeds/MealNamesSeed.php +++ b/config/Seeds/MealNamesSeed.php @@ -3,7 +3,7 @@ class MealNamesSeed extends AbstractSeed { - public function run() + public function run() : void { $data = [ ['name' => __('Breakfast')], diff --git a/config/Seeds/PreparationMethodsSeed.php b/config/Seeds/PreparationMethodsSeed.php index a958e83..9af5b69 100644 --- a/config/Seeds/PreparationMethodsSeed.php +++ b/config/Seeds/PreparationMethodsSeed.php @@ -3,7 +3,7 @@ class PreparationMethodsSeed extends AbstractSeed { - public function run() + public function run() : void { $data = [ ['name' => __('Slow cooker')], diff --git a/config/Seeds/PreparationTimesSeed.php b/config/Seeds/PreparationTimesSeed.php index 3189978..ac970d1 100644 --- a/config/Seeds/PreparationTimesSeed.php +++ b/config/Seeds/PreparationTimesSeed.php @@ -3,7 +3,7 @@ class PreparationTimesSeed extends AbstractSeed { - public function run() + public function run() : void { $data = [ ['name' => __('0 Minutes')], diff --git a/config/Seeds/PriceRangesSeed.php b/config/Seeds/PriceRangesSeed.php index 3fe270f..13ad9e0 100644 --- a/config/Seeds/PriceRangesSeed.php +++ b/config/Seeds/PriceRangesSeed.php @@ -3,7 +3,7 @@ class PriceRangesSeed extends AbstractSeed { - public function run() + public function run() : void { $data = [ ['name' => __('$0-$10')], diff --git a/config/Seeds/StoresSeed.php b/config/Seeds/StoresSeed.php index 62b6b3e..356a683 100644 --- a/config/Seeds/StoresSeed.php +++ b/config/Seeds/StoresSeed.php @@ -3,7 +3,7 @@ class StoresSeed extends AbstractSeed { - public function run() + public function run() : void { $data = [ ['name' => 'default', diff --git a/config/Seeds/UnitsSeed.php b/config/Seeds/UnitsSeed.php index 7f4d821..dcb4a2f 100644 --- a/config/Seeds/UnitsSeed.php +++ b/config/Seeds/UnitsSeed.php @@ -3,7 +3,7 @@ class UnitsSeed extends AbstractSeed { - public function run() + public function run() : void { $data = [ ['id' => 1, 'name' => __('Unit'), 'abbreviation' => 'ea', 'system_type' => 0, 'sort_order' => 0], diff --git a/config/Seeds/UsersSeed.php b/config/Seeds/UsersSeed.php index 8f4b6a4..5baca08 100644 --- a/config/Seeds/UsersSeed.php +++ b/config/Seeds/UsersSeed.php @@ -17,7 +17,7 @@ class UsersSeed extends AbstractSeed * * @return void */ - public function run() + public function run() : void { $data = [ [