From 6fb2f5caf5858b02a943019976e1476a8d0d35cd Mon Sep 17 00:00:00 2001 From: Anatoliy Poloz Date: Wed, 6 Dec 2023 16:29:47 +0300 Subject: [PATCH 1/7] status of docker-compose containers command added --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 0df20fc..ef366a2 100644 --- a/Makefile +++ b/Makefile @@ -54,4 +54,7 @@ make-storage-link: node-frontend-deps: docker-compose exec php-fpm npm i --legacy-peer-deps +status: + docker-compose ps + init: clone copy-infra-env compose-down compose-up setup-laravel-packages copy-laravel-env setup-laravel-key run-migrations node-frontend-deps start-frontend-prod fix-permissions make-storage-link From 8ee6f527c4bcf5b8e4cd5d9d28ba37abb946ef81 Mon Sep 17 00:00:00 2001 From: Anatoliy Poloz Date: Mon, 18 Dec 2023 14:57:17 +0300 Subject: [PATCH 2/7] fixed url path and insights added --- .env.infra-example | 2 +- Makefile | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.env.infra-example b/.env.infra-example index 55c0279..892cb1c 100644 --- a/.env.infra-example +++ b/.env.infra-example @@ -11,4 +11,4 @@ MYSQL_ROOT_PASSWORD="nhbnhb22" MYSQL_DATABASE="eatvio" MYSQL_USER="eatvio_user" MYSQL_PASSWORD="eatvio_pass_nhbnhb22" -MY_APP_GIT_URL="ssh://git@10.55.5.123:222/eatvio/eatvio.git" +MY_APP_GIT_URL="ssh://git@10.55.5.123:222/apoloz/eatvio.git" diff --git a/Makefile b/Makefile index 0217b5b..a7af89c 100644 --- a/Makefile +++ b/Makefile @@ -65,5 +65,11 @@ make-storage-link: node-frontend-deps: docker-compose exec php-fpm npm i --legacy-peer-deps +test: + docker-compose exec php-fpm vendor/bin/phpunit + +fix-insights: + docker-compose exec php-fpm ./artisan insights --fix + init: clone copy-infra-env restart setup-laravel-packages copy-laravel-env setup-laravel-key run-migrations node-frontend-deps build-frontend-prod fix-permissions make-storage-link From a776b3974a78782a5807d644275e70a505f926fe Mon Sep 17 00:00:00 2001 From: Anatoliy Poloz Date: Fri, 29 Dec 2023 10:58:52 +0300 Subject: [PATCH 3/7] static analisys refactoryn, View types added --- Makefile | 13 +- analize.log | 956 ++++++++++++++++++ database/.gitignore | 1 + database/factories/BlogPostFactory.php | 47 + database/factories/DiaryFactory.php | 32 + database/factories/DietFactory.php | 89 ++ database/factories/PlanCommentFactory.php | 26 + database/factories/PlanFactory.php | 79 ++ database/factories/UserDetailzFactory.php | 50 + database/factories/UserFactory.php | 69 ++ .../2014_10_12_000000_create_users_table.php | 34 + ...12_100000_create_password_resets_table.php | 32 + ..._add_two_factor_columns_to_users_table.php | 46 + ..._08_19_000000_create_failed_jobs_table.php | 36 + ...01_create_personal_access_tokens_table.php | 33 + ...022_03_30_125533_create_sessions_table.php | 35 + ...3_31_093623_create_user_detailzs_table.php | 53 + ...2022_04_05_105659_create_diaries_table.php | 42 + .../2022_04_05_105723_create_meals_table.php | 45 + ...022_04_06_140318_create_portions_table.php | 38 + .../2022_04_13_123342_add_closed_to_tasks.php | 32 + ...22_04_14_110737_create_calendars_table.php | 31 + ...19_create_circumference_measures_table.php | 35 + ...17_111617_create_weight_measures_table.php | 33 + ...0407_create_consultant_education_table.php | 39 + ...3_140744_create_user_attachments_table.php | 37 + ...5_26_101953_add_is_consultant_to_users.php | 32 + ...2724_create_meal_user_attachment_table.php | 33 + ...create_consultant_diary_comments_table.php | 35 + ...22_06_03_131304_add_comment_to_diaries.php | 32 + .../2022_06_29_135450_create_plans_table.php | 41 + ...2_06_30_090341_create_rich_texts_table.php | 26 + .../2022_07_08_083503_create_plan_author.php | 31 + ...7_22_105447_create_plan_comments_table.php | 35 + ...2_07_25_100927_create_plan_likes_table.php | 33 + ...26_111407_create_comment_upvotes_table.php | 34 + .../2022_08_26_094740_create_diets_table.php | 38 + .../2022_08_31_111901_diet_author.php | 31 + ...8_31_113609_create_diet_comments_table.php | 35 + ...2_08_31_113618_create_diet_likes_table.php | 33 + ...1104_create_diet_comment_upvotes_table.php | 34 + .../2022_09_06_115121_create_views_table.php | 62 ++ ...09_12_125812_create_chosen_plans_table.php | 35 + ...09_12_125818_create_chosen_diets_table.php | 35 + ...9_12_132727_create_state_history_table.php | 35 + ...2_11_29_082630_create_blog_posts_table.php | 35 + ...2022_11_29_082657_create_recipes_table.php | 38 + .../2022_11_29_090908_create_tags_table.php | 32 + ...22_12_01_094513_create_taggables_table.php | 32 + .../2022_12_01_120945_blog_post_author.php | 31 + .../2022_12_01_121006_recipe_author.php | 31 + ...123439_create_blog_post_comments_table.php | 35 + ...06_123459_create_blog_post_likes_table.php | 33 + ...create_blog_post_comment_upvotes_table.php | 34 + ...06_124917_create_recipe_comments_table.php | 35 + ...12_06_124931_create_recipe_likes_table.php | 33 + ...40_create_recipe_comment_upvotes_table.php | 34 + ...7_101359_add_title_to_blog_posts_table.php | 32 + ...2_07_101435_add_title_to_recipes_table.php | 32 + ...rename_recipe_youtube_url_to_video_url.php | 32 + ...23_01_25_073135_add_recipe_type_column.php | 32 + .../2023_02_16_123259_create_chats_table.php | 34 + ..._26_145818_create_product_groups_table.php | 33 + ...reate_product_nutritional_values_table.php | 45 + ...023_08_23_174247_create_finances_table.php | 31 + ...320_add_height_column_to_user_detailzs.php | 28 + ...622_add_fillable_to_table_user_detailz.php | 30 + ...23_09_01_152657_add_is_public_to_users.php | 28 + ...create_consultant_legal_entities_table.php | 46 + .../2023_12_20_105039_add_slug_to_plan.php | 28 + database/seeders/BlogPostSeeder.php | 18 + database/seeders/DatabaseSeeder.php | 23 + database/seeders/DietsSeeder.php | 23 + database/seeders/PlanAuthor.php | 25 + database/seeders/PlanCommentSeeder.php | 37 + database/seeders/PlanSeeder.php | 17 + database/seeders/UserSeeder.php | 59 ++ 77 files changed, 3667 insertions(+), 2 deletions(-) create mode 100644 analize.log create mode 100644 database/.gitignore create mode 100644 database/factories/BlogPostFactory.php create mode 100644 database/factories/DiaryFactory.php create mode 100644 database/factories/DietFactory.php create mode 100755 database/factories/PlanCommentFactory.php create mode 100755 database/factories/PlanFactory.php create mode 100644 database/factories/UserDetailzFactory.php create mode 100644 database/factories/UserFactory.php create mode 100644 database/migrations/2014_10_12_000000_create_users_table.php create mode 100644 database/migrations/2014_10_12_100000_create_password_resets_table.php create mode 100644 database/migrations/2014_10_12_200000_add_two_factor_columns_to_users_table.php create mode 100644 database/migrations/2019_08_19_000000_create_failed_jobs_table.php create mode 100644 database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php create mode 100644 database/migrations/2022_03_30_125533_create_sessions_table.php create mode 100644 database/migrations/2022_03_31_093623_create_user_detailzs_table.php create mode 100644 database/migrations/2022_04_05_105659_create_diaries_table.php create mode 100644 database/migrations/2022_04_05_105723_create_meals_table.php create mode 100644 database/migrations/2022_04_06_140318_create_portions_table.php create mode 100644 database/migrations/2022_04_13_123342_add_closed_to_tasks.php create mode 100644 database/migrations/2022_04_14_110737_create_calendars_table.php create mode 100644 database/migrations/2022_05_13_131919_create_circumference_measures_table.php create mode 100644 database/migrations/2022_05_17_111617_create_weight_measures_table.php create mode 100644 database/migrations/2022_05_20_120407_create_consultant_education_table.php create mode 100644 database/migrations/2022_05_23_140744_create_user_attachments_table.php create mode 100644 database/migrations/2022_05_26_101953_add_is_consultant_to_users.php create mode 100644 database/migrations/2022_05_30_142724_create_meal_user_attachment_table.php create mode 100644 database/migrations/2022_06_03_085504_create_consultant_diary_comments_table.php create mode 100644 database/migrations/2022_06_03_131304_add_comment_to_diaries.php create mode 100644 database/migrations/2022_06_29_135450_create_plans_table.php create mode 100644 database/migrations/2022_06_30_090341_create_rich_texts_table.php create mode 100644 database/migrations/2022_07_08_083503_create_plan_author.php create mode 100644 database/migrations/2022_07_22_105447_create_plan_comments_table.php create mode 100644 database/migrations/2022_07_25_100927_create_plan_likes_table.php create mode 100644 database/migrations/2022_07_26_111407_create_comment_upvotes_table.php create mode 100644 database/migrations/2022_08_26_094740_create_diets_table.php create mode 100644 database/migrations/2022_08_31_111901_diet_author.php create mode 100644 database/migrations/2022_08_31_113609_create_diet_comments_table.php create mode 100644 database/migrations/2022_08_31_113618_create_diet_likes_table.php create mode 100644 database/migrations/2022_09_05_101104_create_diet_comment_upvotes_table.php create mode 100644 database/migrations/2022_09_06_115121_create_views_table.php create mode 100644 database/migrations/2022_09_12_125812_create_chosen_plans_table.php create mode 100644 database/migrations/2022_09_12_125818_create_chosen_diets_table.php create mode 100644 database/migrations/2022_09_12_132727_create_state_history_table.php create mode 100644 database/migrations/2022_11_29_082630_create_blog_posts_table.php create mode 100644 database/migrations/2022_11_29_082657_create_recipes_table.php create mode 100644 database/migrations/2022_11_29_090908_create_tags_table.php create mode 100644 database/migrations/2022_12_01_094513_create_taggables_table.php create mode 100644 database/migrations/2022_12_01_120945_blog_post_author.php create mode 100644 database/migrations/2022_12_01_121006_recipe_author.php create mode 100644 database/migrations/2022_12_06_123439_create_blog_post_comments_table.php create mode 100644 database/migrations/2022_12_06_123459_create_blog_post_likes_table.php create mode 100644 database/migrations/2022_12_06_123516_create_blog_post_comment_upvotes_table.php create mode 100644 database/migrations/2022_12_06_124917_create_recipe_comments_table.php create mode 100644 database/migrations/2022_12_06_124931_create_recipe_likes_table.php create mode 100644 database/migrations/2022_12_06_124940_create_recipe_comment_upvotes_table.php create mode 100644 database/migrations/2022_12_07_101359_add_title_to_blog_posts_table.php create mode 100644 database/migrations/2022_12_07_101435_add_title_to_recipes_table.php create mode 100644 database/migrations/2023_01_13_092119_rename_recipe_youtube_url_to_video_url.php create mode 100644 database/migrations/2023_01_25_073135_add_recipe_type_column.php create mode 100644 database/migrations/2023_02_16_123259_create_chats_table.php create mode 100644 database/migrations/2023_07_26_145818_create_product_groups_table.php create mode 100644 database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php create mode 100644 database/migrations/2023_08_23_174247_create_finances_table.php create mode 100644 database/migrations/2023_08_30_135320_add_height_column_to_user_detailzs.php create mode 100644 database/migrations/2023_09_01_113622_add_fillable_to_table_user_detailz.php create mode 100644 database/migrations/2023_09_01_152657_add_is_public_to_users.php create mode 100644 database/migrations/2023_09_14_145239_create_consultant_legal_entities_table.php create mode 100644 database/migrations/2023_12_20_105039_add_slug_to_plan.php create mode 100644 database/seeders/BlogPostSeeder.php create mode 100644 database/seeders/DatabaseSeeder.php create mode 100644 database/seeders/DietsSeeder.php create mode 100644 database/seeders/PlanAuthor.php create mode 100755 database/seeders/PlanCommentSeeder.php create mode 100755 database/seeders/PlanSeeder.php create mode 100644 database/seeders/UserSeeder.php diff --git a/Makefile b/Makefile index a7af89c..5905ba0 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,9 @@ restart: stop start status: docker-compose ps +bash: + docker-compose exec php-fpm bash + tinker: docker-compose exec php-fpm ./artisan tinker @@ -44,8 +47,8 @@ seed-db: fix-permissions: docker-compose exec php-fpm chown -R www-data:www-data storage -lint-code-style: - docker-compose exec php-fpm composer php-cs-fixer fix +fix-code-style: + docker-compose exec php-fpm vendor/bin/pint artisan: docker-compose exec php-fpm ./artisan $(ARGS) @@ -71,5 +74,11 @@ test: fix-insights: docker-compose exec php-fpm ./artisan insights --fix +rector: + docker-compose exec php-fpm vendor/bin/rector process --dry-run + +static-analysis: + docker-compose exec php-fpm composer static-analysis + init: clone copy-infra-env restart setup-laravel-packages copy-laravel-env setup-laravel-key run-migrations node-frontend-deps build-frontend-prod fix-permissions make-storage-link diff --git a/analize.log b/analize.log new file mode 100644 index 0000000..75bc305 --- /dev/null +++ b/analize.log @@ -0,0 +1,956 @@ +docker-compose exec php-fpm composer static-analysis +> phpstan analyse --ansi --memory-limit 512M --error-format=github +Note: Using configuration file /application/phpstan.neon.dist. + 0/291 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0% 291/291 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% + +::error file=app/Actions/Fortify/UpdateUserProfileInformation.php,line=27,col=0::Parameter #1 $photo of method App\Models\User::updateProfilePhoto() expects Illuminate\Http\UploadedFile, string given. +::error file=app/Console/Commands/UpdateSlugs.php,line=27,col=0::Method App\Console\Commands\UpdateSlugs::handle() has no return type specified. +::error file=app/Console/Commands/UpdateSlugs.php,line=34,col=0::Call to static method replaceLast() on an unknown class App\Console\Commands\Str. +::error file=app/Events/ChatMessageUpdated.php,line=15,col=0::Property App\Events\ChatMessageUpdated::$message has no type specified. +::error file=app/Events/DietSelected.php,line=15,col=0::Property App\Events\DietSelected::$diet has no type specified. +::error file=app/Events/DietSelected.php,line=17,col=0::Property App\Events\DietSelected::$user has no type specified. +::error file=app/Http/Controllers/BlogPostController.php,line=48,col=0::Method App\Http\Controllers\BlogPostController::show() should return Illuminate\View\View but return statement is missing. +::error file=app/Http/Controllers/CalendarController.php,line=16,col=0::Property App\Http\Controllers\CalendarController::$weekStartsAt has no type specified. +::error file=app/Http/Controllers/CalendarController.php,line=18,col=0::Property App\Http\Controllers\CalendarController::$weekEndsAt has no type specified. +::error file=app/Http/Controllers/CalendarController.php,line=20,col=0::Property App\Http\Controllers\CalendarController::$startsAt has no type specified. +::error file=app/Http/Controllers/CalendarController.php,line=22,col=0::Property App\Http\Controllers\CalendarController::$endsAt has no type specified. +::error file=app/Http/Controllers/CalendarController.php,line=24,col=0::Property App\Http\Controllers\CalendarController::$gridStartsAt has no type specified. +::error file=app/Http/Controllers/CalendarController.php,line=26,col=0::Property App\Http\Controllers\CalendarController::$gridEndsAt has no type specified. +::error file=app/Http/Controllers/CalendarController.php,line=28,col=0::Method App\Http\Controllers\CalendarController::__construct() has parameter $initialMonth with no type specified. +::error file=app/Http/Controllers/CalendarController.php,line=28,col=0::Method App\Http\Controllers\CalendarController::__construct() has parameter $initialYear with no type specified. +::error file=app/Http/Controllers/CalendarController.php,line=28,col=0::Method App\Http\Controllers\CalendarController::__construct() has parameter $weekStartsAt with no type specified. +::error file=app/Http/Controllers/CalendarController.php,line=43,col=0::Method App\Http\Controllers\CalendarController::calculateGridStartsEnds() has no return type specified. +::error file=app/Http/Controllers/CalendarController.php,line=58,col=0::Parameter #2 $operator of method Illuminate\Database\Eloquent\Builder::whereMonth() expects string, int given. +::error file=app/Http/Controllers/ChatController.php,line=13,col=0::Property App\Http\Controllers\ChatMessage::$id has no type specified. +::error file=app/Http/Controllers/ChatController.php,line=15,col=0::Property App\Http\Controllers\ChatMessage::$payload has no type specified. +::error file=app/Http/Controllers/ChatController.php,line=17,col=0::Method App\Http\Controllers\ChatMessage::__construct() has parameter $id with no type specified. +::error file=app/Http/Controllers/ChatController.php,line=17,col=0::Method App\Http\Controllers\ChatMessage::__construct() has parameter $payload with no type specified. +::error file=app/Http/Controllers/ChatController.php,line=23,col=0::Method App\Http\Controllers\ChatMessage::someRandomFillFunction() has no return type specified. +::error file=app/Http/Controllers/ChatController.php,line=25,col=0::Called 'pluck' on Laravel collection, but could have been retrieved as a query. +::error file=app/Http/Controllers/ChatController.php,line=26,col=0::Called 'pluck' on Laravel collection, but could have been retrieved as a query. +::error file=app/Http/Controllers/ChatController.php,line=27,col=0::Call to static method create() on an unknown class App\Http\Controllers\Faker\Factory. +::error file=app/Http/Controllers/ChatController.php,line=102,col=0::Method App\Http\Controllers\ChatController::create() should return Illuminate\Http\Response but return statement is missing. +::error file=app/Http/Controllers/ChatController.php,line=102,col=0::Parameter #1 $message of event class App\Events\ChatMessageUpdated constructor expects array in App\Events\ChatMessageUpdated::dispatch(), App\Http\Controllers\ChatMessage given. +::error file=app/Http/Controllers/ChatController.php,line=102,col=0::Parameter #1 $string of function md5 expects string, int<1, max> given. +::error file=app/Http/Controllers/ChatController.php,line=133,col=0::Method App\Http\Controllers\ChatController::makeChanName() has no return type specified. +::error file=app/Http/Controllers/ChatController.php,line=133,col=0::Method App\Http\Controllers\ChatController::makeChanName() has parameter $from with no type specified. +::error file=app/Http/Controllers/ChatController.php,line=133,col=0::Method App\Http\Controllers\ChatController::makeChanName() has parameter $to with no type specified. +::error file=app/Http/Controllers/ConsultantRequestFormController.php,line=20,col=0::Access to an undefined property App\Models\User::$consultant_state. +::error file=app/Http/Controllers/ConsultantRequestFormController.php,line=22,col=0::Method App\Http\Controllers\ConsultantRequestFormController::create() should return Illuminate\View\View but returns Illuminate\Http\RedirectResponse. +::error file=app/Http/Controllers/ConsultantRequestFormController.php,line=44,col=0::Access to an undefined property App\Models\User::$consultant_state. +::error file=app/Http/Controllers/ConsultantRequestFormController.php,line=56,col=0::Access to an undefined property App\Models\User::$consultant_state. +::error file=app/Http/Controllers/DiaryController.php,line=23,col=0::Method App\Http\Controllers\DiaryController::index() should return Illuminate\Http\Response but returns Illuminate\Http\RedirectResponse. +::error file=app/Http/Controllers/DiaryController.php,line=39,col=0::Method App\Http\Controllers\DiaryController::edit() has parameter $id with no type specified. +::error file=app/Http/Controllers/DiaryController.php,line=71,col=0::Method App\Http\Controllers\DiaryController::update() should return Illuminate\Http\Response but returns Illuminate\Http\RedirectResponse. +::error file=app/Http/Controllers/FinanceController.php,line=15,col=0::Method App\Http\Controllers\FinanceController::index() should return Illuminate\Http\Response but return statement is missing. +::error file=app/Http/Controllers/FinanceController.php,line=24,col=0::Method App\Http\Controllers\FinanceController::create() should return Illuminate\Http\Response but return statement is missing. +::error file=app/Http/Controllers/FinanceController.php,line=33,col=0::Method App\Http\Controllers\FinanceController::store() should return Illuminate\Http\Response but return statement is missing. +::error file=app/Http/Controllers/FinanceController.php,line=42,col=0::Method App\Http\Controllers\FinanceController::show() should return Illuminate\Http\Response but return statement is missing. +::error file=app/Http/Controllers/FinanceController.php,line=51,col=0::Method App\Http\Controllers\FinanceController::edit() should return Illuminate\Http\Response but return statement is missing. +::error file=app/Http/Controllers/FinanceController.php,line=60,col=0::Method App\Http\Controllers\FinanceController::update() should return Illuminate\Http\Response but return statement is missing. +::error file=app/Http/Controllers/FinanceController.php,line=69,col=0::Method App\Http\Controllers\FinanceController::destroy() should return Illuminate\Http\Response but return statement is missing. +::error file=app/Http/Controllers/RegistrationStartController.php,line=7,col=0::Method App\Http\Controllers\RegistrationStartController::start() has no return type specified. +::error file=app/Http/Controllers/UserController.php,line=16,col=0::Method App\Http\Controllers\UserController::index() should return Illuminate\Http\Response but return statement is missing. +::error file=app/Http/Controllers/UserController.php,line=25,col=0::Method App\Http\Controllers\UserController::create() should return Illuminate\Http\Response but return statement is missing. +::error file=app/Http/Controllers/UserController.php,line=34,col=0::Method App\Http\Controllers\UserController::store() should return Illuminate\Http\Response but return statement is missing. +::error file=app/Http/Controllers/UserController.php,line=45,col=0::Method App\Http\Controllers\UserController::show() should return Illuminate\Http\Response but return statement is missing. +::error file=app/Http/Controllers/UserController.php,line=53,col=0::Method App\Http\Controllers\UserController::edit() should return Illuminate\Http\Response but return statement is missing. +::error file=app/Http/Controllers/UserController.php,line=62,col=0::Method App\Http\Controllers\UserController::update() should return Illuminate\Http\Response but return statement is missing. +::error file=app/Http/Controllers/UserController.php,line=71,col=0::Method App\Http\Controllers\UserController::destroy() should return Illuminate\Http\Response but return statement is missing. +::error file=app/Http/Controllers/UserDetailzController.php,line=40,col=0::Access to an undefined property App\Models\UserDetailz::$user. +::error file=app/Http/Controllers/UserDetailzController.php,line=46,col=0::Access to an undefined property App\Models\UserDetailz::$user. +::error file=app/Http/Controllers/UserDetailzController.php,line=105,col=0::Access to an undefined property App\Models\UserDetailz::$user. +::error file=app/Http/Controllers/UserDetailzController.php,line=111,col=0::Access to an undefined property App\Models\UserDetailz::$user. +::error file=app/Listeners/ProcessDietSelectedNotification.php,line=15,col=0::Property App\Listeners\ProcessDietSelectedNotification::$afterCommit has no type specified. +::error file=app/Livewire/BlogPost/Comment/Create.php,line=16,col=0::Property App\Livewire\BlogPost\Comment\Create::$body has no type specified. +::error file=app/Livewire/BlogPost/Comment/Create.php,line=18,col=0::Property App\Livewire\BlogPost\Comment\Create::$grade has no type specified. +::error file=app/Livewire/BlogPost/Comment/Create.php,line=20,col=0::Method App\Livewire\BlogPost\Comment\Create::render() has no return type specified. +::error file=app/Livewire/BlogPost/Comment/Create.php,line=25,col=0::Method App\Livewire\BlogPost\Comment\Create::save() has no return type specified. +::error file=app/Livewire/BlogPost/Comment/Show.php,line=12,col=0::Property App\Livewire\BlogPost\Comment\Show::$listeners has no type specified. +::error file=app/Livewire/BlogPost/Comment/Show.php,line=14,col=0::Method App\Livewire\BlogPost\Comment\Show::render() has no return type specified. +::error file=app/Livewire/BlogPost/Comment/Upvote.php,line=12,col=0::Method App\Livewire\BlogPost\Comment\Upvote::mount() has no return type specified. +::error file=app/Livewire/BlogPost/Comment/Upvote.php,line=17,col=0::Method App\Livewire\BlogPost\Comment\Upvote::render() has no return type specified. +::error file=app/Livewire/BlogPost/Comment/Upvote.php,line=33,col=0::Method App\Livewire\BlogPost\Comment\Upvote::upvote() has no return type specified. +::error file=app/Livewire/BlogPost/Comment/Upvote.php,line=52,col=0::Method App\Livewire\BlogPost\Comment\Upvote::downvote() has no return type specified. +::error file=app/Livewire/BlogPost/Create.php,line=15,col=0::Property App\Livewire\BlogPost\Create::$image has no type specified. +::error file=app/Livewire/BlogPost/Create.php,line=17,col=0::Property App\Livewire\BlogPost\Create::$state has no type specified. +::error file=app/Livewire/BlogPost/Create.php,line=19,col=0::Property App\Livewire\BlogPost\Create::$title has no type specified. +::error file=app/Livewire/BlogPost/Create.php,line=21,col=0::Property App\Livewire\BlogPost\Create::$description has no type specified. +::error file=app/Livewire/BlogPost/Create.php,line=23,col=0::Property App\Livewire\BlogPost\Create::$tags has no type specified. +::error file=app/Livewire/BlogPost/Create.php,line=25,col=0::Property App\Livewire\BlogPost\Create::$videoUrl has no type specified. +::error file=app/Livewire/BlogPost/Create.php,line=27,col=0::Property App\Livewire\BlogPost\Create::$listeners has no type specified. +::error file=app/Livewire/BlogPost/Create.php,line=29,col=0::Method App\Livewire\BlogPost\Create::render() has no return type specified. +::error file=app/Livewire/BlogPost/Create.php,line=34,col=0::Method App\Livewire\BlogPost\Create::parentComponentTagAdded() has no return type specified. +::error file=app/Livewire/BlogPost/Create.php,line=40,col=0::Method App\Livewire\BlogPost\Create::parentComponentTagRemoved() has no return type specified. +::error file=app/Livewire/BlogPost/Create.php,line=40,col=0::Method App\Livewire\BlogPost\Create::parentComponentTagRemoved() has parameter $tag with no type specified. +::error file=app/Livewire/BlogPost/Create.php,line=47,col=0::Method App\Livewire\BlogPost\Create::draft() has no return type specified. +::error file=app/Livewire/BlogPost/Create.php,line=53,col=0::Method App\Livewire\BlogPost\Create::preview() has no return type specified. +::error file=app/Livewire/BlogPost/Create.php,line=59,col=0::Method App\Livewire\BlogPost\Create::publish() has no return type specified. +::error file=app/Livewire/BlogPost/Create.php,line=80,col=0::Method App\Livewire\BlogPost\Create::rules() has no return type specified. +::error file=app/Livewire/BlogPost/Edit.php,line=17,col=0::Property App\Livewire\BlogPost\Edit::$image has no type specified. +::error file=app/Livewire/BlogPost/Edit.php,line=19,col=0::Property App\Livewire\BlogPost\Edit::$state has no type specified. +::error file=app/Livewire/BlogPost/Edit.php,line=21,col=0::Property App\Livewire\BlogPost\Edit::$title has no type specified. +::error file=app/Livewire/BlogPost/Edit.php,line=23,col=0::Property App\Livewire\BlogPost\Edit::$description has no type specified. +::error file=app/Livewire/BlogPost/Edit.php,line=25,col=0::Property App\Livewire\BlogPost\Edit::$tags has no type specified. +::error file=app/Livewire/BlogPost/Edit.php,line=27,col=0::Property App\Livewire\BlogPost\Edit::$videoUrl has no type specified. +::error file=app/Livewire/BlogPost/Edit.php,line=29,col=0::Property App\Livewire\BlogPost\Edit::$listeners has no type specified. +::error file=app/Livewire/BlogPost/Edit.php,line=31,col=0::Method App\Livewire\BlogPost\Edit::mount() has no return type specified. +::error file=app/Livewire/BlogPost/Edit.php,line=33,col=0::Access to an undefined property App\Livewire\BlogPost\Edit::$name. +::error file=app/Livewire/BlogPost/Edit.php,line=33,col=0::Access to an undefined property App\Models\BlogPost::$name. +::error file=app/Livewire/BlogPost/Edit.php,line=38,col=0::Access to an undefined property App\Models\BlogPost::$tags. +::error file=app/Livewire/BlogPost/Edit.php,line=42,col=0::Method App\Livewire\BlogPost\Edit::parentComponentTagAdded() has no return type specified. +::error file=app/Livewire/BlogPost/Edit.php,line=48,col=0::Method App\Livewire\BlogPost\Edit::parentComponentTagRemoved() has no return type specified. +::error file=app/Livewire/BlogPost/Edit.php,line=48,col=0::Method App\Livewire\BlogPost\Edit::parentComponentTagRemoved() has parameter $tag with no type specified. +::error file=app/Livewire/BlogPost/Edit.php,line=58,col=0::Method App\Livewire\BlogPost\Edit::draft() has no return type specified. +::error file=app/Livewire/BlogPost/Edit.php,line=64,col=0::Method App\Livewire\BlogPost\Edit::preview() has no return type specified. +::error file=app/Livewire/BlogPost/Edit.php,line=70,col=0::Method App\Livewire\BlogPost\Edit::publish() has no return type specified. +::error file=app/Livewire/BlogPost/Edit.php,line=94,col=0::Method App\Livewire\BlogPost\Edit::render() has no return type specified. +::error file=app/Livewire/BlogPost/Edit.php,line=99,col=0::Method App\Livewire\BlogPost\Edit::rules() has no return type specified. +::error file=app/Livewire/BlogPost/Like.php,line=12,col=0::Property App\Livewire\BlogPost\Like::$isIconOnly has no type specified. +::error file=app/Livewire/BlogPost/Like.php,line=14,col=0::Method App\Livewire\BlogPost\Like::mount() has no return type specified. +::error file=app/Livewire/BlogPost/Like.php,line=19,col=0::Method App\Livewire\BlogPost\Like::render() has no return type specified. +::error file=app/Livewire/BlogPost/LikeCount.php,line=12,col=0::Property App\Livewire\BlogPost\LikeCount::$listeners has no type specified. +::error file=app/Livewire/BlogPost/LikeCount.php,line=14,col=0::Method App\Livewire\BlogPost\LikeCount::mount() has no return type specified. +::error file=app/Livewire/BlogPost/LikeCount.php,line=19,col=0::Method App\Livewire\BlogPost\LikeCount::render() has no return type specified. +::error file=app/Livewire/BlogPost/ListView.php,line=16,col=0::Property App\Livewire\BlogPost\ListView::$search has no type specified. +::error file=app/Livewire/BlogPost/ListView.php,line=18,col=0::Property App\Livewire\BlogPost\ListView::$typeFilter has no type specified. +::error file=app/Livewire/BlogPost/ListView.php,line=20,col=0::Property App\Livewire\BlogPost\ListView::$tag has no type specified. +::error file=app/Livewire/BlogPost/ListView.php,line=22,col=0::Property App\Livewire\BlogPost\ListView::$author has no type specified. +::error file=app/Livewire/BlogPost/ListView.php,line=24,col=0::Property App\Livewire\BlogPost\ListView::$queryString has no type specified. +::error file=app/Livewire/BlogPost/ListView.php,line=31,col=0::Method App\Livewire\BlogPost\ListView::render() has no return type specified. +::error file=app/Livewire/Chat/LastUsers.php,line=9,col=0::Property App\Livewire\Chat\LastUsers::$lastChatUsers has no type specified. +::error file=app/Livewire/Chat/LastUsers.php,line=11,col=0::Property App\Livewire\Chat\LastUsers::$activeUserId has no type specified. +::error file=app/Livewire/Chat/LastUsers.php,line=13,col=0::Property App\Livewire\Chat\LastUsers::$curUserId has no type specified. +::error file=app/Livewire/Chat/LastUsers.php,line=15,col=0::Property App\Livewire\Chat\LastUsers::$chanId has no type specified. +::error file=app/Livewire/Chat/LastUsers.php,line=17,col=0::Method App\Livewire\Chat\LastUsers::render() has no return type specified. +::error file=app/Livewire/Chat/LastUsers.php,line=22,col=0::Method App\Livewire\Chat\LastUsers::switchTo() has no return type specified. +::error file=app/Livewire/Chat/LastUsers.php,line=22,col=0::Method App\Livewire\Chat\LastUsers::switchTo() has parameter $id with no type specified. +::error file=app/Livewire/Chat/MessageWindow.php,line=12,col=0::Property App\Livewire\Chat\MessageWindow::$messages has no type specified. +::error file=app/Livewire/Chat/MessageWindow.php,line=14,col=0::Property App\Livewire\Chat\MessageWindow::$curMessage has no type specified. +::error file=app/Livewire/Chat/MessageWindow.php,line=16,col=0::Property App\Livewire\Chat\MessageWindow::$curUserId has no type specified. +::error file=app/Livewire/Chat/MessageWindow.php,line=18,col=0::Property App\Livewire\Chat\MessageWindow::$recipientUserId has no type specified. +::error file=app/Livewire/Chat/MessageWindow.php,line=20,col=0::Property App\Livewire\Chat\MessageWindow::$recipientUser has no type specified. +::error file=app/Livewire/Chat/MessageWindow.php,line=22,col=0::Property App\Livewire\Chat\MessageWindow::$chanId has no type specified. +::error file=app/Livewire/Chat/MessageWindow.php,line=24,col=0::Property App\Livewire\Chat\MessageWindow::$curUser has no type specified. +::error file=app/Livewire/Chat/MessageWindow.php,line=26,col=0::Method App\Livewire\Chat\MessageWindow::getListeners() has no return type specified. +::error file=app/Livewire/Chat/MessageWindow.php,line=36,col=0::Method App\Livewire\Chat\MessageWindow::notifyNewMessage() has parameter $e with no type specified. +::error file=app/Livewire/Chat/MessageWindow.php,line=44,col=0::Method App\Livewire\Chat\MessageWindow::updateRecipientId() has no return type specified. +::error file=app/Livewire/Chat/MessageWindow.php,line=44,col=0::Method App\Livewire\Chat\MessageWindow::updateRecipientId() has parameter $id with no type specified. +::error file=app/Livewire/Chat/MessageWindow.php,line=48,col=0::Method App\Livewire\Chat\MessageWindow::whisperTypeing() has no return type specified. +::error file=app/Livewire/Chat/MessageWindow.php,line=61,col=0::Method App\Livewire\Chat\MessageWindow::mount() has no return type specified. +::error file=app/Livewire/Chat/MessageWindow.php,line=61,col=0::Method App\Livewire\Chat\MessageWindow::mount() has parameter $recipientUserId with no type specified. +::error file=app/Livewire/Chat/MessageWindow.php,line=77,col=0::Method App\Livewire\Chat\MessageWindow::render() has no return type specified. +::error file=app/Livewire/Chat/MessageWindow.php,line=82,col=0::Method App\Livewire\Chat\MessageWindow::sendChatMessage() has no return type specified. +::error file=app/Livewire/Chat/Tracker.php,line=9,col=0::Property App\Livewire\Chat\Tracker::$showNewMessageNotifycation has no type specified. +::error file=app/Livewire/Chat/Tracker.php,line=11,col=0::Property App\Livewire\Chat\Tracker::$myMessages has no type specified. +::error file=app/Livewire/Chat/Tracker.php,line=14,col=0::Property App\Livewire\Chat\Tracker::$listeners has no type specified. +::error file=app/Livewire/Chat/Tracker.php,line=16,col=0::Method App\Livewire\Chat\Tracker::notifyNewMessage() has parameter $payload with no type specified. +::error file=app/Livewire/Chat/Tracker.php,line=22,col=0::Method App\Livewire\Chat\Tracker::render() has no return type specified. +::error file=app/Livewire/Consultant/ListConsultants.php,line=10,col=0::Method App\Livewire\Consultant\ListConsultants::render() has no return type specified. +::error file=app/Livewire/Consultant/RegistrationForm.php,line=32,col=0::Property App\Livewire\Consultant\RegistrationForm::$certPhotos has no type specified. +::error file=app/Livewire/Consultant/RegistrationForm.php,line=34,col=0::Property App\Livewire\Consultant\RegistrationForm::$tmpCertPhotos has no type specified. +::error file=app/Livewire/Consultant/RegistrationForm.php,line=38,col=0::Property App\Livewire\Consultant\RegistrationForm::$rules has no type specified. +::error file=app/Livewire/Consultant/RegistrationForm.php,line=49,col=0::Method App\Livewire\Consultant\RegistrationForm::mount() has no return type specified. +::error file=app/Livewire/Consultant/RegistrationForm.php,line=64,col=0::If condition is always true. +::error file=app/Livewire/Consultant/RegistrationForm.php,line=69,col=0::Method App\Livewire\Consultant\RegistrationForm::render() has no return type specified. +::error file=app/Livewire/Consultant/RegistrationForm.php,line=74,col=0::Method App\Livewire\Consultant\RegistrationForm::addEducation() has no return type specified. +::error file=app/Livewire/Consultant/RegistrationForm.php,line=94,col=0::Method App\Livewire\Consultant\RegistrationForm::remove() has no return type specified. +::error file=app/Livewire/Consultant/RegistrationForm.php,line=94,col=0::Method App\Livewire\Consultant\RegistrationForm::remove() has parameter $index with no type specified. +::error file=app/Livewire/Consultant/RegistrationForm.php,line=107,col=0::Method App\Livewire\Consultant\RegistrationForm::save() has no return type specified. +::error file=app/Livewire/Consultant/RegistrationForm.php,line=161,col=0::Method App\Livewire\Consultant\RegistrationForm::deleteImg() has no return type specified. +::error file=app/Livewire/Consultant/RegistrationForm.php,line=161,col=0::Method App\Livewire\Consultant\RegistrationForm::deleteImg() has parameter $id with no type specified. +::error file=app/Livewire/Counter.php,line=9,col=0::Property App\Livewire\Counter::$count has no type specified. +::error file=app/Livewire/Counter.php,line=11,col=0::Method App\Livewire\Counter::inc() has no return type specified. +::error file=app/Livewire/Counter.php,line=16,col=0::Method App\Livewire\Counter::dec() has no return type specified. +::error file=app/Livewire/Counter.php,line=21,col=0::Method App\Livewire\Counter::render() has no return type specified. +::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=11,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$daysCount has no type specified. +::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=13,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$diary has no type specified. +::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=15,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$curMeals has no type specified. +::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=17,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$typeNames has no type specified. +::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=19,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$comments has no type specified. +::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=21,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$retireComment has no type specified. +::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=23,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$breakfastComment has no type specified. +::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=25,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$dinnerComment has no type specified. +::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=27,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$supperComment has no type specified. +::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=29,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$lunchComment has no type specified. +::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=31,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$snacksComment has no type specified. +::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=33,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$totalComment has no type specified. +::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=35,col=0::Method App\Livewire\Diary\ConsultantCommentsEdit::mount() has no return type specified. +::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=46,col=0::Method App\Livewire\Diary\ConsultantCommentsEdit::render() has no return type specified. +::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=58,col=0::Method App\Livewire\Diary\ConsultantCommentsEdit::save() has no return type specified. +::error file=app/Livewire/Diary/MealPhotos.php,line=17,col=0::Property App\Livewire\Diary\MealPhotos::$tmpMealPhotos has no type specified. +::error file=app/Livewire/Diary/MealPhotos.php,line=19,col=0::Method App\Livewire\Diary\MealPhotos::render() has no return type specified. +::error file=app/Livewire/Diary/MealPhotos.php,line=24,col=0::Access to an undefined property App\Models\Meal::$photos. +::error file=app/Livewire/Diary/MealPhotos.php,line=29,col=0::Method App\Livewire\Diary\MealPhotos::updatedTmpMealPhotos() has no return type specified. +::error file=app/Livewire/Diary/MealPhotos.php,line=29,col=0::Method App\Livewire\Diary\MealPhotos::updatedTmpMealPhotos() has parameter $values with no type specified. +::error file=app/Livewire/Diet/Comment/Create.php,line=16,col=0::Property App\Livewire\Diet\Comment\Create::$body has no type specified. +::error file=app/Livewire/Diet/Comment/Create.php,line=18,col=0::Property App\Livewire\Diet\Comment\Create::$grade has no type specified. +::error file=app/Livewire/Diet/Comment/Create.php,line=20,col=0::Property App\Livewire\Diet\Comment\Create::$isChecked has no type specified. +::error file=app/Livewire/Diet/Comment/Create.php,line=22,col=0::Method App\Livewire\Diet\Comment\Create::render() has no return type specified. +::error file=app/Livewire/Diet/Comment/Create.php,line=27,col=0::Method App\Livewire\Diet\Comment\Create::toggle() has no return type specified. +::error file=app/Livewire/Diet/Comment/Create.php,line=32,col=0::Method App\Livewire\Diet\Comment\Create::save() has no return type specified. +::error file=app/Livewire/Diet/Comment/Show.php,line=12,col=0::Property App\Livewire\Diet\Comment\Show::$listeners has no type specified. +::error file=app/Livewire/Diet/Comment/Show.php,line=14,col=0::Method App\Livewire\Diet\Comment\Show::render() has no return type specified. +::error file=app/Livewire/Diet/Comment/Upvote.php,line=12,col=0::Method App\Livewire\Diet\Comment\Upvote::mount() has no return type specified. +::error file=app/Livewire/Diet/Comment/Upvote.php,line=17,col=0::Method App\Livewire\Diet\Comment\Upvote::render() has no return type specified. +::error file=app/Livewire/Diet/Comment/Upvote.php,line=33,col=0::Method App\Livewire\Diet\Comment\Upvote::upvote() has no return type specified. +::error file=app/Livewire/Diet/Comment/Upvote.php,line=52,col=0::Method App\Livewire\Diet\Comment\Upvote::downvote() has no return type specified. +::error file=app/Livewire/Diet/Create.php,line=14,col=0::Property App\Livewire\Diet\Create::$name has no type specified. +::error file=app/Livewire/Diet/Create.php,line=16,col=0::Property App\Livewire\Diet\Create::$image has no type specified. +::error file=app/Livewire/Diet/Create.php,line=18,col=0::Property App\Livewire\Diet\Create::$duration has no type specified. +::error file=app/Livewire/Diet/Create.php,line=20,col=0::Property App\Livewire\Diet\Create::$state has no type specified. +::error file=app/Livewire/Diet/Create.php,line=22,col=0::Property App\Livewire\Diet\Create::$type has no type specified. +::error file=app/Livewire/Diet/Create.php,line=24,col=0::Property App\Livewire\Diet\Create::$details has no type specified. +::error file=app/Livewire/Diet/Create.php,line=26,col=0::Property App\Livewire\Diet\Create::$days has no type specified. +::error file=app/Livewire/Diet/Create.php,line=28,col=0::Property App\Livewire\Diet\Create::$copyedDay has no type specified. +::error file=app/Livewire/Diet/Create.php,line=30,col=0::Property App\Livewire\Diet\Create::$copyedDayData has no type specified. +::error file=app/Livewire/Diet/Create.php,line=32,col=0::Property App\Livewire\Diet\Create::$listeners has no type specified. +::error file=app/Livewire/Diet/Create.php,line=34,col=0::Method App\Livewire\Diet\Create::render() has no return type specified. +::error file=app/Livewire/Diet/Create.php,line=39,col=0::Method App\Livewire\Diet\Create::dayUpdated() has no return type specified. +::error file=app/Livewire/Diet/Create.php,line=39,col=0::Method App\Livewire\Diet\Create::dayUpdated() has parameter $data with no type specified. +::error file=app/Livewire/Diet/Create.php,line=39,col=0::Method App\Livewire\Diet\Create::dayUpdated() has parameter $dayIndex with no type specified. +::error file=app/Livewire/Diet/Create.php,line=44,col=0::Method App\Livewire\Diet\Create::showPreview() has no return type specified. +::error file=app/Livewire/Diet/Create.php,line=50,col=0::Method App\Livewire\Diet\Create::addToDrafts() has no return type specified. +::error file=app/Livewire/Diet/Create.php,line=56,col=0::Method App\Livewire\Diet\Create::makeCopy() has no return type specified. +::error file=app/Livewire/Diet/Create.php,line=56,col=0::Method App\Livewire\Diet\Create::makeCopy() has parameter $day with no type specified. +::error file=app/Livewire/Diet/Create.php,line=61,col=0::Method App\Livewire\Diet\Create::makePaste() has no return type specified. +::error file=app/Livewire/Diet/Create.php,line=61,col=0::Method App\Livewire\Diet\Create::makePaste() has parameter $copyToDay with no type specified. +::error file=app/Livewire/Diet/Create.php,line=67,col=0::Method App\Livewire\Diet\Create::publish() has no return type specified. +::error file=app/Livewire/Diet/Create.php,line=87,col=0::Method App\Livewire\Diet\Create::rules() has no return type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=9,col=0::Property App\Livewire\Diet\DayEdit::$day has no type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=11,col=0::Property App\Livewire\Diet\DayEdit::$eatingTypes has no type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=13,col=0::Property App\Livewire\Diet\DayEdit::$activeType has no type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=15,col=0::Property App\Livewire\Diet\DayEdit::$portions has no type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=17,col=0::Property App\Livewire\Diet\DayEdit::$name has no type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=19,col=0::Property App\Livewire\Diet\DayEdit::$quantity has no type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=21,col=0::Property App\Livewire\Diet\DayEdit::$portion has no type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=23,col=0::Property App\Livewire\Diet\DayEdit::$listeners has no type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=25,col=0::Property App\Livewire\Diet\DayEdit::$rules has no type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=31,col=0::Method App\Livewire\Diet\DayEdit::render() has no return type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=36,col=0::Method App\Livewire\Diet\DayEdit::addPortion() has no return type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=36,col=0::Method App\Livewire\Diet\DayEdit::addPortion() has parameter $type with no type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=52,col=0::Method App\Livewire\Diet\DayEdit::delete() has no return type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=52,col=0::Method App\Livewire\Diet\DayEdit::delete() has parameter $type with no type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=52,col=0::Method App\Livewire\Diet\DayEdit::delete() has parameter $uniq with no type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=64,col=0::Method App\Livewire\Diet\DayEdit::edit() has no return type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=64,col=0::Method App\Livewire\Diet\DayEdit::edit() has parameter $type with no type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=64,col=0::Method App\Livewire\Diet\DayEdit::edit() has parameter $uniq with no type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=83,col=0::Method App\Livewire\Diet\DayEdit::takePaste() has no return type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=83,col=0::Method App\Livewire\Diet\DayEdit::takePaste() has parameter $data with no type specified. +::error file=app/Livewire/Diet/DayEdit.php,line=83,col=0::Method App\Livewire\Diet\DayEdit::takePaste() has parameter $day with no type specified. +::error file=app/Livewire/Diet/Edit.php,line=12,col=0::Property App\Livewire\Diet\Edit::$name has no type specified. +::error file=app/Livewire/Diet/Edit.php,line=14,col=0::Property App\Livewire\Diet\Edit::$image has no type specified. +::error file=app/Livewire/Diet/Edit.php,line=16,col=0::Property App\Livewire\Diet\Edit::$duration has no type specified. +::error file=app/Livewire/Diet/Edit.php,line=18,col=0::Property App\Livewire\Diet\Edit::$state has no type specified. +::error file=app/Livewire/Diet/Edit.php,line=20,col=0::Property App\Livewire\Diet\Edit::$type has no type specified. +::error file=app/Livewire/Diet/Edit.php,line=22,col=0::Property App\Livewire\Diet\Edit::$details has no type specified. +::error file=app/Livewire/Diet/Edit.php,line=24,col=0::Property App\Livewire\Diet\Edit::$days has no type specified. +::error file=app/Livewire/Diet/Edit.php,line=26,col=0::Property App\Livewire\Diet\Edit::$copyedDay has no type specified. +::error file=app/Livewire/Diet/Edit.php,line=28,col=0::Property App\Livewire\Diet\Edit::$copyedDayData has no type specified. +::error file=app/Livewire/Diet/Edit.php,line=30,col=0::Property App\Livewire\Diet\Edit::$listeners has no type specified. +::error file=app/Livewire/Diet/Edit.php,line=32,col=0::Method App\Livewire\Diet\Edit::mount() has no return type specified. +::error file=app/Livewire/Diet/Edit.php,line=43,col=0::Method App\Livewire\Diet\Edit::render() has no return type specified. +::error file=app/Livewire/Diet/Edit.php,line=48,col=0::Method App\Livewire\Diet\Edit::dayUpdated() has no return type specified. +::error file=app/Livewire/Diet/Edit.php,line=48,col=0::Method App\Livewire\Diet\Edit::dayUpdated() has parameter $data with no type specified. +::error file=app/Livewire/Diet/Edit.php,line=48,col=0::Method App\Livewire\Diet\Edit::dayUpdated() has parameter $dayIndex with no type specified. +::error file=app/Livewire/Diet/Edit.php,line=53,col=0::Method App\Livewire\Diet\Edit::showPreview() has no return type specified. +::error file=app/Livewire/Diet/Edit.php,line=59,col=0::Method App\Livewire\Diet\Edit::addToDrafts() has no return type specified. +::error file=app/Livewire/Diet/Edit.php,line=65,col=0::Method App\Livewire\Diet\Edit::makeCopy() has no return type specified. +::error file=app/Livewire/Diet/Edit.php,line=65,col=0::Method App\Livewire\Diet\Edit::makeCopy() has parameter $day with no type specified. +::error file=app/Livewire/Diet/Edit.php,line=71,col=0::Method App\Livewire\Diet\Edit::makePaste() has no return type specified. +::error file=app/Livewire/Diet/Edit.php,line=71,col=0::Method App\Livewire\Diet\Edit::makePaste() has parameter $copyToDay with no type specified. +::error file=app/Livewire/Diet/Edit.php,line=81,col=0::Method App\Livewire\Diet\Edit::publish() has no return type specified. +::error file=app/Livewire/Diet/Edit.php,line=102,col=0::Method App\Livewire\Diet\Edit::rules() has no return type specified. +::error file=app/Livewire/Diet/Like.php,line=12,col=0::Property App\Livewire\Diet\Like::$isIconOnly has no type specified. +::error file=app/Livewire/Diet/Like.php,line=14,col=0::Method App\Livewire\Diet\Like::mount() has no return type specified. +::error file=app/Livewire/Diet/Like.php,line=19,col=0::Method App\Livewire\Diet\Like::render() has no return type specified. +::error file=app/Livewire/Diet/LikeCount.php,line=12,col=0::Property App\Livewire\Diet\LikeCount::$listeners has no type specified. +::error file=app/Livewire/Diet/LikeCount.php,line=14,col=0::Method App\Livewire\Diet\LikeCount::mount() has no return type specified. +::error file=app/Livewire/Diet/LikeCount.php,line=19,col=0::Method App\Livewire\Diet\LikeCount::render() has no return type specified. +::error file=app/Livewire/Diet/StartButton.php,line=16,col=0::Property App\Livewire\Diet\StartButton::$chosenDietState has no type specified. +::error file=app/Livewire/Diet/StartButton.php,line=18,col=0::Method App\Livewire\Diet\StartButton::mount() has no return type specified. +::error file=app/Livewire/Diet/StartButton.php,line=23,col=0::Method App\Livewire\Diet\StartButton::render() has no return type specified. +::error file=app/Livewire/Diet/StartButton.php,line=28,col=0::Method App\Livewire\Diet\StartButton::start() has no return type specified. +::error file=app/Livewire/Diet/StartButton.php,line=36,col=0::Method App\Livewire\Diet\StartButton::getLastState() has no return type specified. +::error file=app/Livewire/Feed/Index.php,line=9,col=0::Property App\Livewire\Feed\Index::$posts has no type specified. +::error file=app/Livewire/Feed/Index.php,line=11,col=0::Method App\Livewire\Feed\Index::render() has no return type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=14,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$first_name has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=17,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$last_name has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=20,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$email has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=23,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$gender has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=26,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$birthdate has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=29,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$country has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=32,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$city has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=35,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$lang has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=38,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$weight has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=41,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$height has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=44,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$chest_circumference has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=47,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$waist_circumference has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=50,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$hip_circumference has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=53,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$blood_pressure_up has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=56,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$blood_pressure_down has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=59,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$has_hypo has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=62,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$has_hyper has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=65,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$about_alergy has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=68,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$about_taking_pils has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=71,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$about_sport_hobbies has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=74,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$favorite_foods has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=77,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$unfavorite_foods has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=80,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$additional_info has no type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=82,col=0::Method App\Livewire\Forms\ProfileEditDetailzForm::setDetailz() has no return type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=87,col=0::Access to an undefined property App\Models\UserDetailz::$user. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=110,col=0::Method App\Livewire\Forms\ProfileEditDetailzForm::update() has no return type specified. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=116,col=0::Access to an undefined property App\Models\UserDetailz::$user. +::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=117,col=0::Access to an undefined property App\Models\UserDetailz::$user. +::error file=app/Livewire/MealForm.php,line=12,col=0::Property App\Livewire\MealForm::$time has no type specified. +::error file=app/Livewire/MealForm.php,line=14,col=0::Property App\Livewire\MealForm::$type has no type specified. +::error file=app/Livewire/MealForm.php,line=16,col=0::Property App\Livewire\MealForm::$satiety has no type specified. +::error file=app/Livewire/MealForm.php,line=18,col=0::Property App\Livewire\MealForm::$mood has no type specified. +::error file=app/Livewire/MealForm.php,line=20,col=0::Property App\Livewire\MealForm::$product_name has no type specified. +::error file=app/Livewire/MealForm.php,line=22,col=0::Property App\Livewire\MealForm::$portions has no type specified. +::error file=app/Livewire/MealForm.php,line=24,col=0::Property App\Livewire\MealForm::$quantity has no type specified. +::error file=app/Livewire/MealForm.php,line=26,col=0::Property App\Livewire\MealForm::$pcs has no type specified. +::error file=app/Livewire/MealForm.php,line=28,col=0::Property App\Livewire\MealForm::$unit has no type specified. +::error file=app/Livewire/MealForm.php,line=30,col=0::Property App\Livewire\MealForm::$diaryId has no type specified. +::error file=app/Livewire/MealForm.php,line=36,col=0::Property App\Livewire\MealForm::$portion has no type specified. +::error file=app/Livewire/MealForm.php,line=38,col=0::Property App\Livewire\MealForm::$rules has no type specified. +::error file=app/Livewire/MealForm.php,line=44,col=0::Property App\Livewire\MealForm::$listeners has no type specified. +::error file=app/Livewire/MealForm.php,line=46,col=0::Method App\Livewire\MealForm::mount() has no return type specified. +::error file=app/Livewire/MealForm.php,line=49,col=0::Access to an undefined property App\Models\Diary|Illuminate\Database\Eloquent\Collection::$meals. +::error file=app/Livewire/MealForm.php,line=53,col=0::Access to an undefined property App\Models\Diary|Illuminate\Database\Eloquent\Collection::$meals. +::error file=app/Livewire/MealForm.php,line=68,col=0::Method App\Livewire\MealForm::updatingType() has no return type specified. +::error file=app/Livewire/MealForm.php,line=68,col=0::Method App\Livewire\MealForm::updatingType() has parameter $value with no type specified. +::error file=app/Livewire/MealForm.php,line=70,col=0::Access to an undefined property App\Models\Diary::$meals. +::error file=app/Livewire/MealForm.php,line=76,col=0::Method App\Livewire\MealForm::render() has no return type specified. +::error file=app/Livewire/MealForm.php,line=88,col=0::Access to an undefined property App\Models\Diary::$meals. +::error file=app/Livewire/MealForm.php,line=102,col=0::Method App\Livewire\MealForm::addFoodIntake() has no return type specified. +::error file=app/Livewire/MealForm.php,line=145,col=0::Method App\Livewire\MealForm::addPortion() has no return type specified. +::error file=app/Livewire/MealForm.php,line=162,col=0::Method App\Livewire\MealForm::editPortion() has no return type specified. +::error file=app/Livewire/MealForm.php,line=162,col=0::Method App\Livewire\MealForm::editPortion() has parameter $item with no type specified. +::error file=app/Livewire/MealForm.php,line=162,col=0::Method App\Livewire\MealForm::editPortion() has parameter $key with no type specified. +::error file=app/Livewire/MealForm.php,line=173,col=0::Method App\Livewire\MealForm::delPortion() has no return type specified. +::error file=app/Livewire/MealForm.php,line=173,col=0::Method App\Livewire\MealForm::delPortion() has parameter $item with no type specified. +::error file=app/Livewire/MealForm.php,line=173,col=0::Method App\Livewire\MealForm::delPortion() has parameter $key with no type specified. +::error file=app/Livewire/MealForm.php,line=189,col=0::Method App\Livewire\MealForm::addPortionIfItFilled() has no return type specified. +::error file=app/Livewire/Plan/Accordion.php,line=12,col=0::Property App\Livewire\Plan\Accordion::$accordionState has no type specified. +::error file=app/Livewire/Plan/Accordion.php,line=14,col=0::Property App\Livewire\Plan\Accordion::$options1 has no type specified. +::error file=app/Livewire/Plan/Accordion.php,line=16,col=0::Property App\Livewire\Plan\Accordion::$options2 has no type specified. +::error file=app/Livewire/Plan/Accordion.php,line=18,col=0::Property App\Livewire\Plan\Accordion::$options3 has no type specified. +::error file=app/Livewire/Plan/Accordion.php,line=30,col=0::Method App\Livewire\Plan\Accordion::render() has no return type specified. +::error file=app/Livewire/Plan/Accordion.php,line=35,col=0::Method App\Livewire\Plan\Accordion::toggleAccordionState() has no return type specified. +::error file=app/Livewire/Plan/Accordion.php,line=35,col=0::Method App\Livewire\Plan\Accordion::toggleAccordionState() has parameter $optionName with no type specified. +::error file=app/Livewire/Plan/Accordion.php,line=45,col=0::Method App\Livewire\Plan\Accordion::unserializeOptions() has no return type specified. +::error file=app/Livewire/Plan/Accordion.php,line=45,col=0::Method App\Livewire\Plan\Accordion::unserializeOptions() has parameter $str with no type specified. +::error file=app/Livewire/Plan/Accordion.php,line=45,col=0::Method App\Livewire\Plan\Accordion::unserializeOptions() is unused. +::error file=app/Livewire/Plan/Comment/Create.php,line=16,col=0::Property App\Livewire\Plan\Comment\Create::$body has no type specified. +::error file=app/Livewire/Plan/Comment/Create.php,line=18,col=0::Property App\Livewire\Plan\Comment\Create::$grade has no type specified. +::error file=app/Livewire/Plan/Comment/Create.php,line=20,col=0::Property App\Livewire\Plan\Comment\Create::$isChecked has no type specified. +::error file=app/Livewire/Plan/Comment/Create.php,line=22,col=0::Method App\Livewire\Plan\Comment\Create::render() has no return type specified. +::error file=app/Livewire/Plan/Comment/Create.php,line=27,col=0::Method App\Livewire\Plan\Comment\Create::toggle() has no return type specified. +::error file=app/Livewire/Plan/Comment/Create.php,line=32,col=0::Method App\Livewire\Plan\Comment\Create::save() has no return type specified. +::error file=app/Livewire/Plan/Comment/Show.php,line=14,col=0::Property App\Livewire\Plan\Comment\Show::$listeners has no type specified. +::error file=app/Livewire/Plan/Comment/Show.php,line=16,col=0::Method App\Livewire\Plan\Comment\Show::render() has no return type specified. +::error file=app/Livewire/Plan/Comment/Show.php,line=21,col=0::Method App\Livewire\Plan\Comment\Show::toggleTabpanelState() has no return type specified. +::error file=app/Livewire/Plan/Comment/Show.php,line=21,col=0::Method App\Livewire\Plan\Comment\Show::toggleTabpanelState() has parameter $tabpanelName with no type specified. +::error file=app/Livewire/Plan/Comment/Upvote.php,line=12,col=0::Method App\Livewire\Plan\Comment\Upvote::mount() has no return type specified. +::error file=app/Livewire/Plan/Comment/Upvote.php,line=17,col=0::Method App\Livewire\Plan\Comment\Upvote::render() has no return type specified. +::error file=app/Livewire/Plan/Comment/Upvote.php,line=33,col=0::Method App\Livewire\Plan\Comment\Upvote::upvote() has no return type specified. +::error file=app/Livewire/Plan/Comment/Upvote.php,line=52,col=0::Method App\Livewire\Plan\Comment\Upvote::downvote() has no return type specified. +::error file=app/Livewire/Plan/Create.php,line=15,col=0::Property App\Livewire\Plan\Create::$name has no type specified. +::error file=app/Livewire/Plan/Create.php,line=17,col=0::Property App\Livewire\Plan\Create::$image has no type specified. +::error file=app/Livewire/Plan/Create.php,line=19,col=0::Property App\Livewire\Plan\Create::$duration has no type specified. +::error file=app/Livewire/Plan/Create.php,line=21,col=0::Property App\Livewire\Plan\Create::$state has no type specified. +::error file=app/Livewire/Plan/Create.php,line=23,col=0::Property App\Livewire\Plan\Create::$type has no type specified. +::error file=app/Livewire/Plan/Create.php,line=25,col=0::Property App\Livewire\Plan\Create::$details has no type specified. +::error file=app/Livewire/Plan/Create.php,line=27,col=0::Property App\Livewire\Plan\Create::$packets_count has no type specified. +::error file=app/Livewire/Plan/Create.php,line=29,col=0::Property App\Livewire\Plan\Create::$packet1_options has no type specified. +::error file=app/Livewire/Plan/Create.php,line=31,col=0::Property App\Livewire\Plan\Create::$packet2_options has no type specified. +::error file=app/Livewire/Plan/Create.php,line=33,col=0::Property App\Livewire\Plan\Create::$packet3_options has no type specified. +::error file=app/Livewire/Plan/Create.php,line=35,col=0::Property App\Livewire\Plan\Create::$packet1_options_input has no type specified. +::error file=app/Livewire/Plan/Create.php,line=37,col=0::Property App\Livewire\Plan\Create::$packet2_options_input has no type specified. +::error file=app/Livewire/Plan/Create.php,line=39,col=0::Property App\Livewire\Plan\Create::$packet3_options_input has no type specified. +::error file=app/Livewire/Plan/Create.php,line=41,col=0::Property App\Livewire\Plan\Create::$input_items_1 has no type specified. +::error file=app/Livewire/Plan/Create.php,line=43,col=0::Property App\Livewire\Plan\Create::$input_items_2 has no type specified. +::error file=app/Livewire/Plan/Create.php,line=45,col=0::Property App\Livewire\Plan\Create::$input_items_3 has no type specified. +::error file=app/Livewire/Plan/Create.php,line=47,col=0::Property App\Livewire\Plan\Create::$isVisibleDuration has no type specified. +::error file=app/Livewire/Plan/Create.php,line=49,col=0::Property App\Livewire\Plan\Create::$isVisibleState has no type specified. +::error file=app/Livewire/Plan/Create.php,line=51,col=0::Method App\Livewire\Plan\Create::render() has no return type specified. +::error file=app/Livewire/Plan/Create.php,line=56,col=0::Method App\Livewire\Plan\Create::showListDuration() has no return type specified. +::error file=app/Livewire/Plan/Create.php,line=61,col=0::Method App\Livewire\Plan\Create::showListState() has no return type specified. +::error file=app/Livewire/Plan/Create.php,line=66,col=0::Method App\Livewire\Plan\Create::toggleDuration() has no return type specified. +::error file=app/Livewire/Plan/Create.php,line=66,col=0::Method App\Livewire\Plan\Create::toggleDuration() has parameter $duration with no type specified. +::error file=app/Livewire/Plan/Create.php,line=72,col=0::Method App\Livewire\Plan\Create::toggleState() has no return type specified. +::error file=app/Livewire/Plan/Create.php,line=72,col=0::Method App\Livewire\Plan\Create::toggleState() has parameter $state with no type specified. +::error file=app/Livewire/Plan/Create.php,line=78,col=0::Method App\Livewire\Plan\Create::addPacketOption() has no return type specified. +::error file=app/Livewire/Plan/Create.php,line=78,col=0::Method App\Livewire\Plan\Create::addPacketOption() has parameter $options_type with no type specified. +::error file=app/Livewire/Plan/Create.php,line=78,col=0::Method App\Livewire\Plan\Create::addPacketOption() has parameter $options_type_input with no type specified. +::error file=app/Livewire/Plan/Create.php,line=94,col=0::Method App\Livewire\Plan\Create::publish() has no return type specified. +::error file=app/Livewire/Plan/Create.php,line=119,col=0::Method App\Livewire\Plan\Create::addToDrafts() has no return type specified. +::error file=app/Livewire/Plan/Create.php,line=125,col=0::Method App\Livewire\Plan\Create::showPreview() has no return type specified. +::error file=app/Livewire/Plan/Create.php,line=131,col=0::Method App\Livewire\Plan\Create::rules() has no return type specified. +::error file=app/Livewire/Plan/Edit.php,line=15,col=0::Property App\Livewire\Plan\Edit::$name has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=17,col=0::Property App\Livewire\Plan\Edit::$image has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=19,col=0::Property App\Livewire\Plan\Edit::$duration has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=21,col=0::Property App\Livewire\Plan\Edit::$state has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=23,col=0::Property App\Livewire\Plan\Edit::$type has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=25,col=0::Property App\Livewire\Plan\Edit::$details has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=27,col=0::Property App\Livewire\Plan\Edit::$packets_count has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=29,col=0::Property App\Livewire\Plan\Edit::$packet1_options has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=31,col=0::Property App\Livewire\Plan\Edit::$packet2_options has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=33,col=0::Property App\Livewire\Plan\Edit::$packet3_options has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=35,col=0::Property App\Livewire\Plan\Edit::$packet1_options_input has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=37,col=0::Property App\Livewire\Plan\Edit::$packet2_options_input has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=39,col=0::Property App\Livewire\Plan\Edit::$packet3_options_input has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=41,col=0::Property App\Livewire\Plan\Edit::$input_items_1 has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=43,col=0::Property App\Livewire\Plan\Edit::$input_items_2 has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=45,col=0::Property App\Livewire\Plan\Edit::$input_items_3 has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=47,col=0::Property App\Livewire\Plan\Edit::$isVisibleDuration has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=49,col=0::Property App\Livewire\Plan\Edit::$isVisibleState has no type specified. +::error file=app/Livewire/Plan/Edit.php,line=51,col=0::Method App\Livewire\Plan\Edit::mount() has no return type specified. +::error file=app/Livewire/Plan/Edit.php,line=99,col=0::Method App\Livewire\Plan\Edit::showListDuration() has no return type specified. +::error file=app/Livewire/Plan/Edit.php,line=104,col=0::Method App\Livewire\Plan\Edit::showListState() has no return type specified. +::error file=app/Livewire/Plan/Edit.php,line=109,col=0::Method App\Livewire\Plan\Edit::toggleDuration() has no return type specified. +::error file=app/Livewire/Plan/Edit.php,line=109,col=0::Method App\Livewire\Plan\Edit::toggleDuration() has parameter $duration with no type specified. +::error file=app/Livewire/Plan/Edit.php,line=115,col=0::Method App\Livewire\Plan\Edit::toggleState() has no return type specified. +::error file=app/Livewire/Plan/Edit.php,line=115,col=0::Method App\Livewire\Plan\Edit::toggleState() has parameter $state with no type specified. +::error file=app/Livewire/Plan/Edit.php,line=121,col=0::Method App\Livewire\Plan\Edit::addPacketOption() has no return type specified. +::error file=app/Livewire/Plan/Edit.php,line=121,col=0::Method App\Livewire\Plan\Edit::addPacketOption() has parameter $options_type with no type specified. +::error file=app/Livewire/Plan/Edit.php,line=121,col=0::Method App\Livewire\Plan\Edit::addPacketOption() has parameter $options_type_input with no type specified. +::error file=app/Livewire/Plan/Edit.php,line=138,col=0::Method App\Livewire\Plan\Edit::publish() has no return type specified. +::error file=app/Livewire/Plan/Edit.php,line=161,col=0::Method App\Livewire\Plan\Edit::addToDrafts() has no return type specified. +::error file=app/Livewire/Plan/Edit.php,line=167,col=0::Method App\Livewire\Plan\Edit::showPreview() has no return type specified. +::error file=app/Livewire/Plan/Edit.php,line=173,col=0::Method App\Livewire\Plan\Edit::render() has no return type specified. +::error file=app/Livewire/Plan/Edit.php,line=178,col=0::Method App\Livewire\Plan\Edit::rules() has no return type specified. +::error file=app/Livewire/Plan/Like/AnnouncementDetails.php,line=13,col=0::Method App\Livewire\Plan\Like\AnnouncementDetails::mount() has no return type specified. +::error file=app/Livewire/Plan/Like/AnnouncementDetails.php,line=18,col=0::Method App\Livewire\Plan\Like\AnnouncementDetails::render() has no return type specified. +::error file=app/Livewire/Plan/Like/AnnouncementFooter.php,line=13,col=0::Method App\Livewire\Plan\Like\AnnouncementFooter::mount() has no return type specified. +::error file=app/Livewire/Plan/Like/AnnouncementFooter.php,line=18,col=0::Method App\Livewire\Plan\Like\AnnouncementFooter::render() has no return type specified. +::error file=app/Livewire/Plan/LikeCount.php,line=12,col=0::Property App\Livewire\Plan\LikeCount::$listeners has no type specified. +::error file=app/Livewire/Plan/LikeCount.php,line=14,col=0::Method App\Livewire\Plan\LikeCount::mount() has no return type specified. +::error file=app/Livewire/Plan/LikeCount.php,line=19,col=0::Method App\Livewire\Plan\LikeCount::render() has no return type specified. +::error file=app/Livewire/PortionShow.php,line=9,col=0::Method App\Livewire\PortionShow::render() has no return type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=14,col=0::Property App\Livewire\ProductNutritional\Create::$name has no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=16,col=0::Property App\Livewire\ProductNutritional\Create::$product_group has no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=18,col=0::Property App\Livewire\ProductNutritional\Create::$image has no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=20,col=0::Property App\Livewire\ProductNutritional\Create::$description has no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=22,col=0::Property App\Livewire\ProductNutritional\Create::$formulations has no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=24,col=0::Property App\Livewire\ProductNutritional\Create::$energy_on_100gr has no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=26,col=0::Property App\Livewire\ProductNutritional\Create::$proteins_on_100gr has no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=28,col=0::Property App\Livewire\ProductNutritional\Create::$fats_on_100gr has no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=30,col=0::Property App\Livewire\ProductNutritional\Create::$carbohydrates_on_100gr has no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=32,col=0::Property App\Livewire\ProductNutritional\Create::$portion_mass_gr has no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=34,col=0::Property App\Livewire\ProductNutritional\Create::$energy_on_portion has no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=36,col=0::Property App\Livewire\ProductNutritional\Create::$proteins_on_portion has no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=38,col=0::Property App\Livewire\ProductNutritional\Create::$fats_on_portion has no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=40,col=0::Property App\Livewire\ProductNutritional\Create::$carbohydrates_on_portion has no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=42,col=0::Property App\Livewire\ProductNutritional\Create::$curProductNutritionalValue has no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=44,col=0::Method App\Livewire\ProductNutritional\Create::render() has no return type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=49,col=0::Method App\Livewire\ProductNutritional\Create::save() has no return type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=73,col=0::Method App\Livewire\ProductNutritional\Create::recalulateVals() has no return type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=73,col=0::Method App\Livewire\ProductNutritional\Create::recalulateVals() has parameter $mass with no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=92,col=0::Method App\Livewire\ProductNutritional\Create::recalulatePortionVals() has no return type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=92,col=0::Method App\Livewire\ProductNutritional\Create::recalulatePortionVals() has parameter $mass with no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=110,col=0::Method App\Livewire\ProductNutritional\Create::updated() has no return type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=110,col=0::Method App\Livewire\ProductNutritional\Create::updated() has parameter $name with no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=110,col=0::Method App\Livewire\ProductNutritional\Create::updated() has parameter $value with no type specified. +::error file=app/Livewire/ProductNutritional/Create.php,line=124,col=0::Method App\Livewire\ProductNutritional\Create::delete() has no return type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=14,col=0::Property App\Livewire\ProductNutritional\Edit::$name has no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=16,col=0::Property App\Livewire\ProductNutritional\Edit::$product_group has no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=18,col=0::Property App\Livewire\ProductNutritional\Edit::$image has no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=20,col=0::Property App\Livewire\ProductNutritional\Edit::$description has no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=22,col=0::Property App\Livewire\ProductNutritional\Edit::$formulations has no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=24,col=0::Property App\Livewire\ProductNutritional\Edit::$energy_on_100gr has no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=26,col=0::Property App\Livewire\ProductNutritional\Edit::$proteins_on_100gr has no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=28,col=0::Property App\Livewire\ProductNutritional\Edit::$fats_on_100gr has no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=30,col=0::Property App\Livewire\ProductNutritional\Edit::$carbohydrates_on_100gr has no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=32,col=0::Property App\Livewire\ProductNutritional\Edit::$portion_mass_gr has no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=34,col=0::Property App\Livewire\ProductNutritional\Edit::$energy_on_portion has no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=36,col=0::Property App\Livewire\ProductNutritional\Edit::$proteins_on_portion has no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=38,col=0::Property App\Livewire\ProductNutritional\Edit::$fats_on_portion has no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=40,col=0::Property App\Livewire\ProductNutritional\Edit::$carbohydrates_on_portion has no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=42,col=0::Property App\Livewire\ProductNutritional\Edit::$product has no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=44,col=0::Method App\Livewire\ProductNutritional\Edit::mount() has no return type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=47,col=0::Access to an undefined property App\Models\ProductNutritionalValue::$product_group. +::error file=app/Livewire/ProductNutritional/Edit.php,line=62,col=0::Method App\Livewire\ProductNutritional\Edit::render() has no return type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=67,col=0::Method App\Livewire\ProductNutritional\Edit::save() has no return type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=94,col=0::Method App\Livewire\ProductNutritional\Edit::recalulateVals() has no return type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=94,col=0::Method App\Livewire\ProductNutritional\Edit::recalulateVals() has parameter $mass with no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=113,col=0::Method App\Livewire\ProductNutritional\Edit::recalulatePortionVals() has no return type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=113,col=0::Method App\Livewire\ProductNutritional\Edit::recalulatePortionVals() has parameter $mass with no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=131,col=0::Method App\Livewire\ProductNutritional\Edit::updated() has no return type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=131,col=0::Method App\Livewire\ProductNutritional\Edit::updated() has parameter $name with no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=131,col=0::Method App\Livewire\ProductNutritional\Edit::updated() has parameter $value with no type specified. +::error file=app/Livewire/ProductNutritional/Edit.php,line=145,col=0::Method App\Livewire\ProductNutritional\Edit::delete() has no return type specified. +::error file=app/Livewire/ProductNutritional/Index.php,line=10,col=0::Method App\Livewire\ProductNutritional\Index::render() has no return type specified. +::error file=app/Livewire/Profile/CircumferenceChart.php,line=13,col=0::Property App\Livewire\Profile\CircumferenceChart::$listeners has no type specified. +::error file=app/Livewire/Profile/CircumferenceChart.php,line=15,col=0::Method App\Livewire\Profile\CircumferenceChart::render() has no return type specified. +::error file=app/Livewire/Profile/CircumferenceChart.php,line=17,col=0::Called 'last' on Laravel collection, but could have been retrieved as a query. +::error file=app/Livewire/Profile/DescriptionForm.php,line=10,col=0::Property App\Livewire\Profile\DescriptionForm::$description has no type specified. +::error file=app/Livewire/Profile/DescriptionForm.php,line=12,col=0::Property App\Livewire\Profile\DescriptionForm::$user has no type specified. +::error file=app/Livewire/Profile/DescriptionForm.php,line=14,col=0::Method App\Livewire\Profile\DescriptionForm::mount() has no return type specified. +::error file=app/Livewire/Profile/DescriptionForm.php,line=20,col=0::Method App\Livewire\Profile\DescriptionForm::updatedDescription() has no return type specified. +::error file=app/Livewire/Profile/DescriptionForm.php,line=20,col=0::Method App\Livewire\Profile\DescriptionForm::updatedDescription() has parameter $value with no type specified. +::error file=app/Livewire/Profile/DescriptionForm.php,line=28,col=0::Method App\Livewire\Profile\DescriptionForm::render() has no return type specified. +::error file=app/Livewire/Profile/DescriptionForm.php,line=33,col=0::Method App\Livewire\Profile\DescriptionForm::initDetailzIfNeeded() has no return type specified. +::error file=app/Livewire/Profile/DescriptionForm.php,line=47,col=0::Call to function is_null() with int will always evaluate to false. +::error file=app/Livewire/Profile/EditDetailzForm.php,line=28,col=0::Method App\Livewire\Profile\EditDetailzForm::mount() has no return type specified. +::error file=app/Livewire/Profile/EditDetailzForm.php,line=34,col=0::Method App\Livewire\Profile\EditDetailzForm::updatePassword() has no return type specified. +::error file=app/Livewire/Profile/EditDetailzForm.php,line=57,col=0::Method App\Livewire\Profile\EditDetailzForm::refineDetailz() has no return type specified. +::error file=app/Livewire/Profile/EditDetailzForm.php,line=62,col=0::Method App\Livewire\Profile\EditDetailzForm::render() has no return type specified. +::error file=app/Livewire/Profile/PhotoForm.php,line=29,col=0::Property App\Livewire\Profile\PhotoForm::$isOnline has no type specified. +::error file=app/Livewire/Profile/PhotoForm.php,line=31,col=0::Property App\Livewire\Profile\PhotoForm::$user has no type specified. +::error file=app/Livewire/Profile/PhotoForm.php,line=73,col=0::Method App\Livewire\Profile\PhotoForm::updatedPhoto() has no return type specified. +::error file=app/Livewire/Profile/PhotoForm.php,line=73,col=0::Method App\Livewire\Profile\PhotoForm::updatedPhoto() has parameter $newPhoto with no type specified. +::error file=app/Livewire/Profile/PhotoForm.php,line=102,col=0::Method App\Livewire\Profile\PhotoForm::render() has no return type specified. +::error file=app/Livewire/Profile/ShowDetailz.php,line=10,col=0::Property App\Livewire\Profile\ShowDetailz::$user has no type specified. +::error file=app/Livewire/Profile/ShowDetailz.php,line=12,col=0::Property App\Livewire\Profile\ShowDetailz::$userDetailzAttributes has no type specified. +::error file=app/Livewire/Profile/ShowDetailz.php,line=14,col=0::Property App\Livewire\Profile\ShowDetailz::$regFormKeys has no type specified. +::error file=app/Livewire/Profile/ShowDetailz.php,line=16,col=0::Property App\Livewire\Profile\ShowDetailz::$userDetailz has no type specified. +::error file=app/Livewire/Profile/ShowDetailz.php,line=18,col=0::Property App\Livewire\Profile\ShowDetailz::$publicity has no type specified. +::error file=app/Livewire/Profile/ShowDetailz.php,line=20,col=0::Property App\Livewire\Profile\ShowDetailz::$is_bedtime_fillable has no type specified. +::error file=app/Livewire/Profile/ShowDetailz.php,line=22,col=0::Property App\Livewire\Profile\ShowDetailz::$is_mood_fillable has no type specified. +::error file=app/Livewire/Profile/ShowDetailz.php,line=24,col=0::Method App\Livewire\Profile\ShowDetailz::mount() has no return type specified. +::error file=app/Livewire/Profile/ShowDetailz.php,line=31,col=0::Method App\Livewire\Profile\ShowDetailz::render() has no return type specified. +::error file=app/Livewire/Profile/ShowDetailz.php,line=36,col=0::Method App\Livewire\Profile\ShowDetailz::editAction() has no return type specified. +::error file=app/Livewire/Profile/ShowDetailz.php,line=41,col=0::Method App\Livewire\Profile\ShowDetailz::updated() has parameter $name with no type specified. +::error file=app/Livewire/Profile/ShowDetailz.php,line=41,col=0::Method App\Livewire\Profile\ShowDetailz::updated() has parameter $value with no type specified. +::error file=app/Livewire/Profile/WeightChart.php,line=13,col=0::Property App\Livewire\Profile\WeightChart::$listeners has no type specified. +::error file=app/Livewire/Profile/WeightChart.php,line=15,col=0::Method App\Livewire\Profile\WeightChart::render() has no return type specified. +::error file=app/Livewire/Recipe/Comment/Create.php,line=16,col=0::Property App\Livewire\Recipe\Comment\Create::$body has no type specified. +::error file=app/Livewire/Recipe/Comment/Create.php,line=18,col=0::Property App\Livewire\Recipe\Comment\Create::$grade has no type specified. +::error file=app/Livewire/Recipe/Comment/Create.php,line=20,col=0::Property App\Livewire\Recipe\Comment\Create::$isChecked has no type specified. +::error file=app/Livewire/Recipe/Comment/Create.php,line=22,col=0::Method App\Livewire\Recipe\Comment\Create::render() has no return type specified. +::error file=app/Livewire/Recipe/Comment/Create.php,line=27,col=0::Method App\Livewire\Recipe\Comment\Create::toggle() has no return type specified. +::error file=app/Livewire/Recipe/Comment/Create.php,line=32,col=0::Method App\Livewire\Recipe\Comment\Create::save() has no return type specified. +::error file=app/Livewire/Recipe/Comment/Show.php,line=14,col=0::Property App\Livewire\Recipe\Comment\Show::$listeners has no type specified. +::error file=app/Livewire/Recipe/Comment/Show.php,line=16,col=0::Method App\Livewire\Recipe\Comment\Show::render() has no return type specified. +::error file=app/Livewire/Recipe/Comment/Show.php,line=21,col=0::Method App\Livewire\Recipe\Comment\Show::toggleTabpanelState() has no return type specified. +::error file=app/Livewire/Recipe/Comment/Show.php,line=21,col=0::Method App\Livewire\Recipe\Comment\Show::toggleTabpanelState() has parameter $tabpanelName with no type specified. +::error file=app/Livewire/Recipe/Comment/Show.php,line=23,col=0::Method Illuminate\Support\Collection::map() invoked with 2 parameters, 1 required. +::error file=app/Livewire/Recipe/Comment/Upvote.php,line=12,col=0::Method App\Livewire\Recipe\Comment\Upvote::mount() has no return type specified. +::error file=app/Livewire/Recipe/Comment/Upvote.php,line=17,col=0::Method App\Livewire\Recipe\Comment\Upvote::render() has no return type specified. +::error file=app/Livewire/Recipe/Comment/Upvote.php,line=33,col=0::Method App\Livewire\Recipe\Comment\Upvote::upvote() has no return type specified. +::error file=app/Livewire/Recipe/Comment/Upvote.php,line=52,col=0::Method App\Livewire\Recipe\Comment\Upvote::downvote() has no return type specified. +::error file=app/Livewire/Recipe/Create.php,line=16,col=0::Property App\Livewire\Recipe\Create::$image has no type specified. +::error file=app/Livewire/Recipe/Create.php,line=18,col=0::Property App\Livewire\Recipe\Create::$state has no type specified. +::error file=app/Livewire/Recipe/Create.php,line=20,col=0::Property App\Livewire\Recipe\Create::$state_ingredient has no type specified. +::error file=app/Livewire/Recipe/Create.php,line=22,col=0::Property App\Livewire\Recipe\Create::$state_article has no type specified. +::error file=app/Livewire/Recipe/Create.php,line=24,col=0::Property App\Livewire\Recipe\Create::$tags has no type specified. +::error file=app/Livewire/Recipe/Create.php,line=26,col=0::Property App\Livewire\Recipe\Create::$title has no type specified. +::error file=app/Livewire/Recipe/Create.php,line=28,col=0::Property App\Livewire\Recipe\Create::$type has no type specified. +::error file=app/Livewire/Recipe/Create.php,line=30,col=0::Property App\Livewire\Recipe\Create::$video_url has no type specified. +::error file=app/Livewire/Recipe/Create.php,line=32,col=0::Property App\Livewire\Recipe\Create::$cooking_time has no type specified. +::error file=app/Livewire/Recipe/Create.php,line=34,col=0::Property App\Livewire\Recipe\Create::$description has no type specified. +::error file=app/Livewire/Recipe/Create.php,line=36,col=0::Property App\Livewire\Recipe\Create::$steps has no type specified. +::error file=app/Livewire/Recipe/Create.php,line=38,col=0::Property App\Livewire\Recipe\Create::$ingredients has no type specified. +::error file=app/Livewire/Recipe/Create.php,line=40,col=0::Property App\Livewire\Recipe\Create::$ingredients_name has no type specified. +::error file=app/Livewire/Recipe/Create.php,line=42,col=0::Property App\Livewire\Recipe\Create::$ingredients_portion has no type specified. +::error file=app/Livewire/Recipe/Create.php,line=44,col=0::Property App\Livewire\Recipe\Create::$ingredients_unit has no type specified. +::error file=app/Livewire/Recipe/Create.php,line=46,col=0::Property App\Livewire\Recipe\Create::$state_row has no type specified. +::error file=app/Livewire/Recipe/Create.php,line=48,col=0::Property App\Livewire\Recipe\Create::$listeners has no type specified. +::error file=app/Livewire/Recipe/Create.php,line=67,col=0::Method App\Livewire\Recipe\Create::removeIngredient() has no return type specified. +::error file=app/Livewire/Recipe/Create.php,line=67,col=0::Method App\Livewire\Recipe\Create::removeIngredient() has parameter $i with no type specified. +::error file=app/Livewire/Recipe/Create.php,line=74,col=0::Method App\Livewire\Recipe\Create::addStep() has no return type specified. +::error file=app/Livewire/Recipe/Create.php,line=79,col=0::Method App\Livewire\Recipe\Create::removeStep() has no return type specified. +::error file=app/Livewire/Recipe/Create.php,line=79,col=0::Method App\Livewire\Recipe\Create::removeStep() has parameter $i with no type specified. +::error file=app/Livewire/Recipe/Create.php,line=94,col=0::Method App\Livewire\Recipe\Create::parentComponentTagAdded() has no return type specified. +::error file=app/Livewire/Recipe/Create.php,line=101,col=0::Method App\Livewire\Recipe\Create::parentComponentTagRemoved() has no return type specified. +::error file=app/Livewire/Recipe/Create.php,line=101,col=0::Method App\Livewire\Recipe\Create::parentComponentTagRemoved() has parameter $tag with no type specified. +::error file=app/Livewire/Recipe/Create.php,line=109,col=0::Method App\Livewire\Recipe\Create::draft() has no return type specified. +::error file=app/Livewire/Recipe/Create.php,line=115,col=0::Method App\Livewire\Recipe\Create::preview() has no return type specified. +::error file=app/Livewire/Recipe/Create.php,line=123,col=0::Method App\Livewire\Recipe\Create::publish() has no return type specified. +::error file=app/Livewire/Recipe/Create.php,line=148,col=0::Method App\Livewire\Recipe\Create::render() has no return type specified. +::error file=app/Livewire/Recipe/Create.php,line=153,col=0::Method App\Livewire\Recipe\Create::rules() has no return type specified. +::error file=app/Livewire/Recipe/Create.php,line=165,col=0::Method App\Livewire\Recipe\Create::transformSteps() has no return type specified. +::error file=app/Livewire/Recipe/Create.php,line=165,col=0::Method App\Livewire\Recipe\Create::transformSteps() has parameter $steps with no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=16,col=0::Property App\Livewire\Recipe\Edit::$image has no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=18,col=0::Property App\Livewire\Recipe\Edit::$state has no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=20,col=0::Property App\Livewire\Recipe\Edit::$state_ingredient has no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=22,col=0::Property App\Livewire\Recipe\Edit::$state_article has no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=24,col=0::Property App\Livewire\Recipe\Edit::$type has no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=26,col=0::Property App\Livewire\Recipe\Edit::$tags has no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=28,col=0::Property App\Livewire\Recipe\Edit::$title has no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=30,col=0::Property App\Livewire\Recipe\Edit::$video_url has no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=32,col=0::Property App\Livewire\Recipe\Edit::$cooking_time has no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=34,col=0::Property App\Livewire\Recipe\Edit::$description has no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=36,col=0::Property App\Livewire\Recipe\Edit::$steps has no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=38,col=0::Property App\Livewire\Recipe\Edit::$ingredients has no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=40,col=0::Property App\Livewire\Recipe\Edit::$ingredients_name has no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=42,col=0::Property App\Livewire\Recipe\Edit::$ingredients_portion has no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=44,col=0::Property App\Livewire\Recipe\Edit::$ingredients_unit has no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=46,col=0::Property App\Livewire\Recipe\Edit::$state_row has no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=48,col=0::Property App\Livewire\Recipe\Edit::$listeners has no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=50,col=0::Method App\Livewire\Recipe\Edit::mount() has no return type specified. +::error file=app/Livewire/Recipe/Edit.php,line=52,col=0::Access to an undefined property App\Livewire\Recipe\Edit::$name. +::error file=app/Livewire/Recipe/Edit.php,line=52,col=0::Access to an undefined property App\Models\Recipe::$name. +::error file=app/Livewire/Recipe/Edit.php,line=61,col=0::Access to an undefined property App\Models\Recipe::$tags. +::error file=app/Livewire/Recipe/Edit.php,line=72,col=0::Method App\Livewire\Recipe\Edit::addIngredient() has no return type specified. +::error file=app/Livewire/Recipe/Edit.php,line=82,col=0::Method App\Livewire\Recipe\Edit::removeIngredient() has no return type specified. +::error file=app/Livewire/Recipe/Edit.php,line=82,col=0::Method App\Livewire\Recipe\Edit::removeIngredient() has parameter $i with no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=89,col=0::Method App\Livewire\Recipe\Edit::addStep() has no return type specified. +::error file=app/Livewire/Recipe/Edit.php,line=94,col=0::Method App\Livewire\Recipe\Edit::removeStep() has no return type specified. +::error file=app/Livewire/Recipe/Edit.php,line=94,col=0::Method App\Livewire\Recipe\Edit::removeStep() has parameter $i with no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=114,col=0::Method App\Livewire\Recipe\Edit::parentComponentTagAdded() has no return type specified. +::error file=app/Livewire/Recipe/Edit.php,line=119,col=0::Method App\Livewire\Recipe\Edit::parentComponentTagRemoved() has no return type specified. +::error file=app/Livewire/Recipe/Edit.php,line=119,col=0::Method App\Livewire\Recipe\Edit::parentComponentTagRemoved() has parameter $tag with no type specified. +::error file=app/Livewire/Recipe/Edit.php,line=125,col=0::Method App\Livewire\Recipe\Edit::draft() has no return type specified. +::error file=app/Livewire/Recipe/Edit.php,line=131,col=0::Method App\Livewire\Recipe\Edit::preview() has no return type specified. +::error file=app/Livewire/Recipe/Edit.php,line=137,col=0::Method App\Livewire\Recipe\Edit::publish() has no return type specified. +::error file=app/Livewire/Recipe/Edit.php,line=160,col=0::Method App\Livewire\Recipe\Edit::render() has no return type specified. +::error file=app/Livewire/Recipe/Edit.php,line=165,col=0::Method App\Livewire\Recipe\Edit::rules() has no return type specified. +::error file=app/Livewire/Recipe/Edit.php,line=177,col=0::Method App\Livewire\Recipe\Edit::transformSteps() has no return type specified. +::error file=app/Livewire/Recipe/Edit.php,line=177,col=0::Method App\Livewire\Recipe\Edit::transformSteps() has parameter $steps with no type specified. +::error file=app/Livewire/Recipe/Like.php,line=12,col=0::Property App\Livewire\Recipe\Like::$isIconOnly has no type specified. +::error file=app/Livewire/Recipe/Like.php,line=14,col=0::Method App\Livewire\Recipe\Like::mount() has no return type specified. +::error file=app/Livewire/Recipe/Like.php,line=19,col=0::Method App\Livewire\Recipe\Like::render() has no return type specified. +::error file=app/Livewire/Recipe/LikeCount.php,line=12,col=0::Property App\Livewire\Recipe\LikeCount::$listeners has no type specified. +::error file=app/Livewire/Recipe/LikeCount.php,line=14,col=0::Method App\Livewire\Recipe\LikeCount::mount() has no return type specified. +::error file=app/Livewire/Recipe/LikeCount.php,line=19,col=0::Method App\Livewire\Recipe\LikeCount::render() has no return type specified. +::error file=app/Livewire/Recipe/ListView.php,line=16,col=0::Property App\Livewire\Recipe\ListView::$search has no type specified. +::error file=app/Livewire/Recipe/ListView.php,line=18,col=0::Property App\Livewire\Recipe\ListView::$typeFilter has no type specified. +::error file=app/Livewire/Recipe/ListView.php,line=20,col=0::Property App\Livewire\Recipe\ListView::$tag has no type specified. +::error file=app/Livewire/Recipe/ListView.php,line=22,col=0::Property App\Livewire\Recipe\ListView::$author has no type specified. +::error file=app/Livewire/Recipe/ListView.php,line=24,col=0::Property App\Livewire\Recipe\ListView::$queryString has no type specified. +::error file=app/Livewire/Recipe/ListView.php,line=31,col=0::Method App\Livewire\Recipe\ListView::render() has no return type specified. +::error file=app/Livewire/Recipe/ListView.php,line=63,col=0::Method App\Livewire\Recipe\ListView::getTagsCollection() has no return type specified. +::error file=app/Livewire/Recipe/ListView.php,line=68,col=0::Access to an undefined property App\Models\Recipe::$tags. +::error file=app/Livewire/Registration/Step1.php,line=23,col=0::Property App\Livewire\Registration\Step1::$step has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=25,col=0::Property App\Livewire\Registration\Step1::$first_name has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=27,col=0::Property App\Livewire\Registration\Step1::$last_name has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=29,col=0::Property App\Livewire\Registration\Step1::$email has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=31,col=0::Property App\Livewire\Registration\Step1::$password has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=33,col=0::Property App\Livewire\Registration\Step1::$password_confirmation has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=35,col=0::Property App\Livewire\Registration\Step1::$birthdate has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=37,col=0::Property App\Livewire\Registration\Step1::$gender has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=39,col=0::Property App\Livewire\Registration\Step1::$country has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=41,col=0::Property App\Livewire\Registration\Step1::$city has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=43,col=0::Property App\Livewire\Registration\Step1::$lang has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=45,col=0::Property App\Livewire\Registration\Step1::$weight has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=47,col=0::Property App\Livewire\Registration\Step1::$height has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=49,col=0::Property App\Livewire\Registration\Step1::$chest_circumference has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=51,col=0::Property App\Livewire\Registration\Step1::$waist_circumference has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=53,col=0::Property App\Livewire\Registration\Step1::$hip_circumference has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=55,col=0::Property App\Livewire\Registration\Step1::$blood_pressure_up has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=57,col=0::Property App\Livewire\Registration\Step1::$blood_pressure_down has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=59,col=0::Property App\Livewire\Registration\Step1::$has_hypo has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=61,col=0::Property App\Livewire\Registration\Step1::$has_hyper has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=63,col=0::Property App\Livewire\Registration\Step1::$about_alergy has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=65,col=0::Property App\Livewire\Registration\Step1::$about_taking_pils has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=67,col=0::Property App\Livewire\Registration\Step1::$about_sport_hobbies has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=69,col=0::Property App\Livewire\Registration\Step1::$favorite_foods has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=71,col=0::Property App\Livewire\Registration\Step1::$unfavorite_foods has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=73,col=0::Property App\Livewire\Registration\Step1::$additional_info has no type specified. +::error file=app/Livewire/Registration/Step1.php,line=75,col=0::Method App\Livewire\Registration\Step1::mount() has no return type specified. +::error file=app/Livewire/Registration/Step1.php,line=75,col=0::Method App\Livewire\Registration\Step1::mount() has parameter $step with no type specified. +::error file=app/Livewire/Registration/Step1.php,line=82,col=0::Method App\Livewire\Registration\Step1::render() has no return type specified. +::error file=app/Livewire/Registration/Step1.php,line=88,col=0::Method App\Livewire\Registration\Step1::nextStep() has no return type specified. +::error file=app/Livewire/Registration/Step1.php,line=109,col=0::Method App\Livewire\Registration\Step1::skipStep() has no return type specified. +::error file=app/Livewire/Registration/Step1.php,line=126,col=0::Method App\Livewire\Registration\Step1::goBack() has no return type specified. +::error file=app/Livewire/Registration/Step1.php,line=128,col=0::Binary operation "-" between non-falsy-string and 1 results in an error. +::error file=app/Livewire/Registration/Step1.php,line=139,col=0::Method App\Livewire\Registration\Step1::finishRegistretion() has no return type specified. +::error file=app/Livewire/Registration/Step1.php,line=160,col=0::Method App\Livewire\Registration\Step1::getValidateRules() has no return type specified. +::error file=app/Livewire/Registration/Step1.php,line=160,col=0::Method App\Livewire\Registration\Step1::getValidateRules() has parameter $key with no type specified. +::error file=app/Livewire/Registration/Step1.php,line=202,col=0::Method App\Livewire\Registration\Step1::getValidateData() has no return type specified. +::error file=app/Livewire/Registration/Step1.php,line=202,col=0::Method App\Livewire\Registration\Step1::getValidateData() has parameter $key with no type specified. +::error file=app/Livewire/Registration/Step1.php,line=245,col=0::Method App\Livewire\Registration\Step1::getNextStep() has no return type specified. +::error file=app/Livewire/Registration/Step1.php,line=247,col=0::Binary operation "+" between non-falsy-string and 1 results in an error. +::error file=app/Livewire/TagsComponent.php,line=12,col=0::Property App\Livewire\TagsComponent::$tags has no type specified. +::error file=app/Livewire/TagsComponent.php,line=14,col=0::Property App\Livewire\TagsComponent::$parentComponent has no type specified. +::error file=app/Livewire/TagsComponent.php,line=18,col=0::Method App\Livewire\TagsComponent::mount() has no return type specified. +::error file=app/Livewire/TagsComponent.php,line=18,col=0::Method App\Livewire\TagsComponent::mount() has parameter $parentComponent with no type specified. +::error file=app/Livewire/TagsComponent.php,line=47,col=0::Method App\Livewire\TagsComponent::render() has no return type specified. +::error file=app/Livewire/User/AddCircumference.php,line=16,col=0::Property App\Livewire\User\AddCircumference::$chest_circumference has no type specified. +::error file=app/Livewire/User/AddCircumference.php,line=18,col=0::Property App\Livewire\User\AddCircumference::$waist_circumference has no type specified. +::error file=app/Livewire/User/AddCircumference.php,line=20,col=0::Property App\Livewire\User\AddCircumference::$hip_circumference has no type specified. +::error file=app/Livewire/User/AddCircumference.php,line=22,col=0::Method App\Livewire\User\AddCircumference::mount() has no return type specified. +::error file=app/Livewire/User/AddCircumference.php,line=27,col=0::Method App\Livewire\User\AddCircumference::render() has no return type specified. +::error file=app/Livewire/User/AddCircumference.php,line=32,col=0::Method App\Livewire\User\AddCircumference::add() has no return type specified. +::error file=app/Livewire/User/AddWeight.php,line=14,col=0::Property App\Livewire\User\AddWeight::$weight has no type specified. +::error file=app/Livewire/User/AddWeight.php,line=16,col=0::Method App\Livewire\User\AddWeight::mount() has no return type specified. +::error file=app/Livewire/User/AddWeight.php,line=21,col=0::Method App\Livewire\User\AddWeight::render() has no return type specified. +::error file=app/Livewire/User/AddWeight.php,line=26,col=0::Method App\Livewire\User\AddWeight::add() has no return type specified. +::error file=app/Models/BlogPost.php,line=22,col=0::Method App\Models\BlogPost::tags() has no return type specified. +::error file=app/Models/BlogPost.php,line=27,col=0::Method App\Models\BlogPost::author() has no return type specified. +::error file=app/Models/BlogPost.php,line=40,col=0::Method App\Models\BlogPost::comments() has no return type specified. +::error file=app/Models/BlogPost.php,line=54,col=0::Method App\Models\BlogPost::isLiked() should return bool but returns int. +::error file=app/Models/BlogPost.php,line=70,col=0::Method App\Models\BlogPost::scopeNoEagerLoads() has no return type specified. +::error file=app/Models/BlogPost.php,line=70,col=0::Method App\Models\BlogPost::scopeNoEagerLoads() has parameter $query with no type specified. +::error file=app/Models/BlogPost.php,line=75,col=0::Method App\Models\BlogPost::scopeContainsTag() has invalid return type App\Models\Builder. +::error file=app/Models/BlogPost.php,line=75,col=0::Method App\Models\BlogPost::scopeContainsTag() has parameter $query with no type specified. +::error file=app/Models/BlogPost.php,line=75,col=0::Method App\Models\BlogPost::scopeContainsTag() has parameter $tagString with no type specified. +::error file=app/Models/BlogPost.php,line=77,col=0::Call to static method of() on an unknown class App\Models\Str. +::error file=app/Models/BlogPostComment.php,line=13,col=0::Method App\Models\BlogPostComment::author() has no return type specified. +::error file=app/Models/BlogPostComment.php,line=18,col=0::Method App\Models\BlogPostComment::blog_post() has no return type specified. +::error file=app/Models/BlogPostComment.php,line=32,col=0::Method App\Models\BlogPostComment::isUpVoted() should return bool but returns int. +::error file=app/Models/BlogPostComment.php,line=45,col=0::Method App\Models\BlogPostComment::isDownVoted() should return bool but returns int. +::error file=app/Models/BlogPostCommentUpvote.php,line=18,col=0::Method App\Models\BlogPostCommentUpvote::author() has no return type specified. +::error file=app/Models/BlogPostCommentUpvote.php,line=23,col=0::Method App\Models\BlogPostCommentUpvote::blog_post_comment() has no return type specified. +::error file=app/Models/BlogPostCommentUpvote.php,line=28,col=0::Method App\Models\BlogPostCommentUpvote::scopeForBlogPostCommentsUpVote() has no return type specified. +::error file=app/Models/BlogPostCommentUpvote.php,line=28,col=0::Method App\Models\BlogPostCommentUpvote::scopeForBlogPostCommentsUpVote() has parameter $query with no type specified. +::error file=app/Models/BlogPostCommentUpvote.php,line=33,col=0::Method App\Models\BlogPostCommentUpvote::scopeForBlogPostCommentsDownVote() has no return type specified. +::error file=app/Models/BlogPostCommentUpvote.php,line=33,col=0::Method App\Models\BlogPostCommentUpvote::scopeForBlogPostCommentsDownVote() has parameter $query with no type specified. +::error file=app/Models/BlogPostLike.php,line=16,col=0::Method App\Models\BlogPostLike::scopeForBlogPost() has no return type specified. +::error file=app/Models/BlogPostLike.php,line=16,col=0::Method App\Models\BlogPostLike::scopeForBlogPost() has parameter $query with no type specified. +::error file=app/Models/Chat.php,line=14,col=0::Method App\Models\Chat::scopeWithLastUserMessage() has no return type specified. +::error file=app/Models/Chat.php,line=23,col=0::Method App\Models\Chat::scopeWithLastTenMessages() has no return type specified. +::error file=app/Models/Chat.php,line=36,col=0::Method App\Models\Chat::scopeWithLastMessage() has no return type specified. +::error file=app/Models/ChosenDiet.php,line=20,col=0::Method App\Models\ChosenDiet::getActorId() has no return type specified. +::error file=app/Models/ChosenDiet.php,line=25,col=0::Method App\Models\ChosenDiet::user() has no return type specified. +::error file=app/Models/ChosenDiet.php,line=30,col=0::Method App\Models\ChosenDiet::diet() has no return type specified. +::error file=app/Models/ChosenDiet.php,line=35,col=0::Method App\Models\ChosenDiet::getGraph() has no return type specified. +::error file=app/Models/ChosenDiet.php,line=40,col=0::Method App\Models\ChosenDiet::saveBeforeTransition() has no return type specified. +::error file=app/Models/ChosenPlan.php,line=12,col=0::Method App\Models\ChosenPlan::user() has no return type specified. +::error file=app/Models/CircumferenceMeasure.php,line=14,col=0::Method App\Models\CircumferenceMeasure::user() has no return type specified. +::error file=app/Models/CommentUpvote.php,line=18,col=0::Method App\Models\CommentUpvote::plan_comment() has no return type specified. +::error file=app/Models/CommentUpvote.php,line=23,col=0::Method App\Models\CommentUpvote::author() has no return type specified. +::error file=app/Models/CommentUpvote.php,line=28,col=0::Method App\Models\CommentUpvote::scopeForPlanCommentsUpVote() has no return type specified. +::error file=app/Models/CommentUpvote.php,line=28,col=0::Method App\Models\CommentUpvote::scopeForPlanCommentsUpVote() has parameter $query with no type specified. +::error file=app/Models/CommentUpvote.php,line=33,col=0::Method App\Models\CommentUpvote::scopeForPlanCommentsDownVote() has no return type specified. +::error file=app/Models/CommentUpvote.php,line=33,col=0::Method App\Models\CommentUpvote::scopeForPlanCommentsDownVote() has parameter $query with no type specified. +::error file=app/Models/ConsultantEducation.php,line=14,col=0::Method App\Models\ConsultantEducation::user() has no return type specified. +::error file=app/Models/Diary.php,line=16,col=0::Method App\Models\Diary::user() has no return type specified. +::error file=app/Models/Diary.php,line=23,col=0::Method App\Models\Diary::meals() has no return type specified. +::error file=app/Models/Diary.php,line=28,col=0::Method App\Models\Diary::scopeUserToDayItem() has no return type specified. +::error file=app/Models/Diary.php,line=28,col=0::Method App\Models\Diary::scopeUserToDayItem() has parameter $query with no type specified. +::error file=app/Models/Diary.php,line=28,col=0::Method App\Models\Diary::scopeUserToDayItem() has parameter $userId with no type specified. +::error file=app/Models/Diary.php,line=35,col=0::Method App\Models\Diary::consultant_comments() has no return type specified. +::error file=app/Models/Diet.php,line=23,col=0::Property App\Models\Diet::$allowedDietTypes has no type specified. +::error file=app/Models/Diet.php,line=30,col=0::Method App\Models\Diet::author() has no return type specified. +::error file=app/Models/Diet.php,line=43,col=0::Method App\Models\Diet::comments() has no return type specified. +::error file=app/Models/Diet.php,line=56,col=0::Method App\Models\Diet::isLiked() should return bool but returns int. +::error file=app/Models/Diet.php,line=89,col=0::Method App\Models\Diet::choses() has no return type specified. +::error file=app/Models/Diet.php,line=94,col=0::Method App\Models\Diet::scopeDurationMin() has parameter $days with no type specified. +::error file=app/Models/Diet.php,line=99,col=0::Method App\Models\Diet::scopeDurationMax() has parameter $days with no type specified. +::error file=app/Models/Diet.php,line=104,col=0::Method App\Models\Diet::scopeInvolvedMin() has parameter $number with no type specified. +::error file=app/Models/Diet.php,line=109,col=0::Method App\Models\Diet::scopeInvolvedMax() has parameter $number with no type specified. +::error file=app/Models/Diet.php,line=114,col=0::Method App\Models\Diet::scopeContainsType() has parameter $types with no type specified. +::error file=app/Models/Diet.php,line=130,col=0::Method App\Models\Diet::unserializeOptionsArr() has no return type specified. +::error file=app/Models/Diet.php,line=130,col=0::Method App\Models\Diet::unserializeOptionsArr() has parameter $str with no type specified. +::error file=app/Models/DietComment.php,line=13,col=0::Method App\Models\DietComment::author() has no return type specified. +::error file=app/Models/DietComment.php,line=18,col=0::Method App\Models\DietComment::diet() has no return type specified. +::error file=app/Models/DietComment.php,line=31,col=0::Method App\Models\DietComment::isUpVoted() should return bool but returns int. +::error file=app/Models/DietComment.php,line=44,col=0::Method App\Models\DietComment::isDownVoted() should return bool but returns int. +::error file=app/Models/DietCommentUpvote.php,line=18,col=0::Method App\Models\DietCommentUpvote::author() has no return type specified. +::error file=app/Models/DietCommentUpvote.php,line=23,col=0::Method App\Models\DietCommentUpvote::diet_comment() has no return type specified. +::error file=app/Models/DietCommentUpvote.php,line=28,col=0::Method App\Models\DietCommentUpvote::scopeForDietCommentsUpVote() has no return type specified. +::error file=app/Models/DietCommentUpvote.php,line=28,col=0::Method App\Models\DietCommentUpvote::scopeForDietCommentsUpVote() has parameter $query with no type specified. +::error file=app/Models/DietCommentUpvote.php,line=33,col=0::Method App\Models\DietCommentUpvote::scopeForDietCommentsDownVote() has no return type specified. +::error file=app/Models/DietCommentUpvote.php,line=33,col=0::Method App\Models\DietCommentUpvote::scopeForDietCommentsDownVote() has parameter $query with no type specified. +::error file=app/Models/DietLike.php,line=16,col=0::Method App\Models\DietLike::scopeForDiet() has no return type specified. +::error file=app/Models/DietLike.php,line=16,col=0::Method App\Models\DietLike::scopeForDiet() has parameter $query with no type specified. +::error file=app/Models/Meal.php,line=14,col=0::Method App\Models\Meal::user() has no return type specified. +::error file=app/Models/Meal.php,line=21,col=0::Method App\Models\Meal::diary() has no return type specified. +::error file=app/Models/Meal.php,line=26,col=0::Method App\Models\Meal::portions() has no return type specified. +::error file=app/Models/Meal.php,line=31,col=0::Method App\Models\Meal::photos() has no return type specified. +::error file=app/Models/Plan.php,line=36,col=0::Property App\Models\Plan::$presenter has no type specified. +::error file=app/Models/Plan.php,line=59,col=0::Method App\Models\Plan::author() has no return type specified. +::error file=app/Models/Plan.php,line=64,col=0::Method App\Models\Plan::comments() has no return type specified. +::error file=app/Models/Plan.php,line=77,col=0::Method App\Models\Plan::isLiked() should return bool but returns int. +::error file=app/Models/Plan.php,line=137,col=0::Method App\Models\Plan::scopeNegativeComments() has no return type specified. +::error file=app/Models/Plan.php,line=142,col=0::Method App\Models\Plan::scopePositiveComments() has no return type specified. +::error file=app/Models/Plan.php,line=147,col=0::Method App\Models\Plan::unserializeOptionsObj() has no return type specified. +::error file=app/Models/Plan.php,line=147,col=0::Method App\Models\Plan::unserializeOptionsObj() has parameter $str with no type specified. +::error file=app/Models/Plan.php,line=147,col=0::Method App\Models\Plan::unserializeOptionsObj() is unused. +::error file=app/Models/Plan.php,line=156,col=0::Method App\Models\Plan::unserializeOptionsArr() has no return type specified. +::error file=app/Models/Plan.php,line=156,col=0::Method App\Models\Plan::unserializeOptionsArr() has parameter $str with no type specified. +::error file=app/Models/Plan.php,line=156,col=0::Method App\Models\Plan::unserializeOptionsArr() is unused. +::error file=app/Models/PlanComment.php,line=13,col=0::Method App\Models\PlanComment::author() has no return type specified. +::error file=app/Models/PlanComment.php,line=18,col=0::Method App\Models\PlanComment::plan() has no return type specified. +::error file=app/Models/PlanComment.php,line=31,col=0::Method App\Models\PlanComment::isUpVoted() should return bool but returns int. +::error file=app/Models/PlanComment.php,line=44,col=0::Method App\Models\PlanComment::isDownVoted() should return bool but returns int. +::error file=app/Models/PlanLike.php,line=16,col=0::Method App\Models\PlanLike::scopeForPlan() has no return type specified. +::error file=app/Models/PlanLike.php,line=16,col=0::Method App\Models\PlanLike::scopeForPlan() has parameter $query with no type specified. +::error file=app/Models/Portion.php,line=14,col=0::Method App\Models\Portion::user() has no return type specified. +::error file=app/Models/ProductGroup.php,line=14,col=0::Method App\Models\ProductGroup::product_nutritional_value() has no return type specified. +::error file=app/Models/ProductNutritionalValue.php,line=14,col=0::Method App\Models\ProductNutritionalValue::product_group() has no return type specified. +::error file=app/Models/Recipe.php,line=53,col=0::Method App\Models\Recipe::tags() has no return type specified. +::error file=app/Models/Recipe.php,line=76,col=0::Method App\Models\Recipe::comments() has no return type specified. +::error file=app/Models/Recipe.php,line=86,col=0::Method App\Models\Recipe::scopeNegativeComments() has no return type specified. +::error file=app/Models/Recipe.php,line=91,col=0::Method App\Models\Recipe::scopePositiveComments() has no return type specified. +::error file=app/Models/Recipe.php,line=100,col=0::Method App\Models\Recipe::isLiked() should return bool but returns int. +::error file=app/Models/Recipe.php,line=116,col=0::Method App\Models\Recipe::scopeContainsTag() has parameter $query with no type specified. +::error file=app/Models/Recipe.php,line=116,col=0::Method App\Models\Recipe::scopeContainsTag() has parameter $tagString with no type specified. +::error file=app/Models/Recipe.php,line=118,col=0::Call to static method of() on an unknown class App\Models\Str. +::error file=app/Models/RecipeComment.php,line=13,col=0::Method App\Models\RecipeComment::author() has no return type specified. +::error file=app/Models/RecipeComment.php,line=18,col=0::Method App\Models\RecipeComment::recipe() has no return type specified. +::error file=app/Models/RecipeComment.php,line=32,col=0::Method App\Models\RecipeComment::isUpVoted() should return bool but returns int. +::error file=app/Models/RecipeComment.php,line=45,col=0::Method App\Models\RecipeComment::isDownVoted() should return bool but returns int. +::error file=app/Models/RecipeCommentUpvote.php,line=18,col=0::Method App\Models\RecipeCommentUpvote::author() has no return type specified. +::error file=app/Models/RecipeCommentUpvote.php,line=23,col=0::Method App\Models\RecipeCommentUpvote::recipe_comment() has no return type specified. +::error file=app/Models/RecipeCommentUpvote.php,line=28,col=0::Method App\Models\RecipeCommentUpvote::scopeForRecipeCommentsUpVote() has no return type specified. +::error file=app/Models/RecipeCommentUpvote.php,line=28,col=0::Method App\Models\RecipeCommentUpvote::scopeForRecipeCommentsUpVote() has parameter $query with no type specified. +::error file=app/Models/RecipeCommentUpvote.php,line=33,col=0::Method App\Models\RecipeCommentUpvote::scopeForRecipeCommentsDownVote() has no return type specified. +::error file=app/Models/RecipeCommentUpvote.php,line=33,col=0::Method App\Models\RecipeCommentUpvote::scopeForRecipeCommentsDownVote() has parameter $query with no type specified. +::error file=app/Models/RecipeLike.php,line=16,col=0::Method App\Models\RecipeLike::scopeForRecipe() has no return type specified. +::error file=app/Models/RecipeLike.php,line=16,col=0::Method App\Models\RecipeLike::scopeForRecipe() has parameter $query with no type specified. +::error file=app/Models/Tag.php,line=16,col=0::Method App\Models\Tag::blogPosts() has no return type specified. +::error file=app/Models/Tag.php,line=21,col=0::Method App\Models\Tag::recipes() has no return type specified. +::error file=app/Models/UserAttachment.php,line=14,col=0::Method App\Models\UserAttachment::user() has no return type specified. +::error file=app/Models/UserAttachment.php,line=19,col=0::Method App\Models\UserAttachment::scopeCerts() has no return type specified. +::error file=app/Models/UserAttachment.php,line=19,col=0::Method App\Models\UserAttachment::scopeCerts() has parameter $query with no type specified. +::error file=app/Models/UserAttachment.php,line=24,col=0::Method App\Models\UserAttachment::meals() has no return type specified. +::error file=app/Models/UserDetailz.php,line=14,col=0::Method App\Models\UserDetailz::user() has no return type specified. +::error file=app/Models/WeightMeasure.php,line=14,col=0::Method App\Models\WeightMeasure::user() has no return type specified. +::error file=app/Notifications/ConsultantRequestStarted.php,line=15,col=0::Property App\Notifications\ConsultantRequestStarted::$education is never read, only written. +::error file=app/Notifications/DietStarted.php,line=14,col=0::Property App\Notifications\DietStarted::$chosenDiet has no type specified. +::error file=app/Notifications/DietStarted.php,line=21,col=0::Method App\Notifications\DietStarted::__construct() has parameter $chosenDiet with no type specified. +::error file=app/Presenters/PlanPresenter.php,line=10,col=0::Method App\Presenters\PlanPresenter::getAuthorPhoto() has no return type specified. +::error file=app/Presenters/PlanPresenter.php,line=17,col=0::Method App\Presenters\PlanPresenter::getAuthor() has no return type specified. +::error file=app/Presenters/PlanPresenter.php,line=19,col=0::Access to an undefined property App\Presenters\PlanPresenter::$author. +::error file=app/Rules/MinWords.php,line=9,col=0::Property App\Rules\MinWords::$minWords has no type specified. +::error file=app/Rules/MinWords.php,line=11,col=0::Method App\Rules\MinWords::__construct() has parameter $minWords with no type specified. +::error file=app/Services/FeedService.php,line=13,col=0::Method App\Services\FeedService::showActualFeed() has no return type specified. +::error file=app/Services/FeedService.php,line=46,col=0::Parameter #1 $query of static method Illuminate\Database\Connection::select() expects string, Illuminate\Contracts\Database\Query\Expression given. +::error file=app/Services/FeedService.php,line=65,col=0::Parameter #1 ...$values of method Illuminate\Support\Collection<(int|string),App\Models\BlogPost|Illuminate\Support\Collection|null>::push() expects App\Models\BlogPost|Illuminate\Support\Collection|null, App\Models\Recipe|null given. +::error file=app/Services/FeedService.php,line=66,col=0::Parameter #1 ...$values of method Illuminate\Support\Collection<(int|string),App\Models\BlogPost|Illuminate\Support\Collection|null>::push() expects App\Models\BlogPost|Illuminate\Support\Collection|null, App\Models\Recipe|null given. +::error file=config/rich-text-laravel.php,line=14,col=0::Class Tonysm\RichTextLaravel\Models\RichText not found. +::error file=config/state-machine.php,line=6,col=0::Class App\Article not found. +::error file=database/factories/BlogPostFactory.php,line=24,col=0::Method Faker\Generator::image() invoked with 9 parameters, 0-8 required. +::error file=database/factories/BlogPostFactory.php,line=38,col=0::Method Database\Factories\BlogPostFactory::some() has no return type specified. +::error file=database/factories/BlogPostFactory.php,line=40,col=0::Call to static method orderBy() on an unknown class Database\Factories\User. +::error file=database/factories/DietFactory.php,line=56,col=0::Call to an undefined method Faker\Generator::foodName(). +::error file=database/factories/DietFactory.php,line=68,col=0::Call to an undefined method Faker\Generator::foodName(). +::error file=database/factories/DietFactory.php,line=69,col=0::Call to an undefined method Faker\Generator::beverageName(). +::error file=database/factories/DietFactory.php,line=70,col=0::Call to an undefined method Faker\Generator::dairyName(). +::error file=database/factories/DietFactory.php,line=71,col=0::Call to an undefined method Faker\Generator::vegetableName(). +::error file=database/factories/DietFactory.php,line=72,col=0::Call to an undefined method Faker\Generator::fruitName(). +::error file=database/factories/DietFactory.php,line=73,col=0::Call to an undefined method Faker\Generator::meatName(). +::error file=database/factories/DietFactory.php,line=74,col=0::Call to an undefined method Faker\Generator::sauceName(). +::error file=database/factories/PlanFactory.php,line=37,col=0::Call to an undefined method Faker\Generator::fruitName(). +::error file=database/factories/PlanFactory.php,line=37,col=0::Call to an undefined method Faker\Generator::meatName(). +::error file=database/factories/PlanFactory.php,line=37,col=0::Call to an undefined method Faker\Generator::sauceName(). +::error file=database/factories/PlanFactory.php,line=39,col=0::Call to an undefined method Faker\Generator::foodName(). +::error file=database/factories/PlanFactory.php,line=44,col=0::Call to an undefined method Faker\Generator::fruitName(). +::error file=database/factories/PlanFactory.php,line=44,col=0::Call to an undefined method Faker\Generator::meatName(). +::error file=database/factories/PlanFactory.php,line=44,col=0::Call to an undefined method Faker\Generator::sauceName(). +::error file=database/factories/PlanFactory.php,line=46,col=0::Call to an undefined method Faker\Generator::foodName(). +::error file=database/factories/PlanFactory.php,line=51,col=0::Call to an undefined method Faker\Generator::fruitName(). +::error file=database/factories/PlanFactory.php,line=51,col=0::Call to an undefined method Faker\Generator::meatName(). +::error file=database/factories/PlanFactory.php,line=51,col=0::Call to an undefined method Faker\Generator::sauceName(). +::error file=database/factories/PlanFactory.php,line=53,col=0::Call to an undefined method Faker\Generator::foodName(). +::error file=database/factories/PlanFactory.php,line=58,col=0::Call to an undefined method Faker\Generator::foodName(). +::error file=database/factories/PlanFactory.php,line=71,col=0::Method Database\Factories\PlanFactory::generateImageFile() has no return type specified. +::error file=database/factories/RecipeFactory.php,line=29,col=0::Call to an undefined method Faker\Generator::foodName(). +::error file=database/factories/RecipeFactory.php,line=37,col=0::Call to an undefined method Faker\Generator::youtubeRandomUri(). +::error file=database/factories/RecipeFactory.php,line=41,col=0::Method Database\Factories\RecipeFactory::generateImageFile() has no return type specified. +::error file=database/factories/RecipeFactory.php,line=56,col=0::Call to an undefined method Faker\Generator::foodName(). +::error file=database/factories/RecipeFactory.php,line=70,col=0::Method Database\Factories\RecipeFactory::createQuentitySteps() has no return type specified. +::error file=database/factories/RecipeFactory.php,line=70,col=0::Method Database\Factories\RecipeFactory::createQuentitySteps() has parameter $count with no type specified. +::error file=database/factories/RecipeFactory.php,line=81,col=0::Method Database\Factories\RecipeFactory::createQuentityIngredients() has no return type specified. +::error file=database/factories/RecipeFactory.php,line=81,col=0::Method Database\Factories\RecipeFactory::createQuentityIngredients() has parameter $count with no type specified. +::error file=database/factories/TagFactory.php,line=25,col=0::Call to an undefined method Faker\Generator::foodName(). +::error file=database/factories/UserFactory.php,line=59,col=0::Call to static method factory() on an unknown class App\Models\Team. +::error file=database/migrations/2022_06_30_090341_create_rich_texts_table.php,line=9,col=0::Method class@anonymous/database/migrations/2022_06_30_090341_create_rich_texts_table.php:7::up() has no return type specified. +::error file=database/migrations/2022_06_30_090341_create_rich_texts_table.php,line=22,col=0::Method class@anonymous/database/migrations/2022_06_30_090341_create_rich_texts_table.php:7::down() has no return type specified. +::error file=database/migrations/2022_09_06_115121_create_views_table.php,line=30,col=0::Property CreateViewsTable::$schema (Illuminate\Support\Facades\Schema) does not accept Illuminate\Database\Schema\Builder. +::error file=database/migrations/2023_07_26_145818_create_product_groups_table.php,line=19,col=0::Parameter #1 $value of method Illuminate\Database\Schema\ColumnDefinition::nullable() expects bool, string given. +::error file=database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php,line=27,col=0::Parameter #1 $value of method Illuminate\Database\Schema\ColumnDefinition::nullable() expects bool, int given. +::error file=database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php,line=28,col=0::Parameter #1 $value of method Illuminate\Database\Schema\ColumnDefinition::nullable() expects bool, int given. +::error file=database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php,line=29,col=0::Parameter #1 $value of method Illuminate\Database\Schema\ColumnDefinition::nullable() expects bool, int given. +::error file=database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php,line=30,col=0::Parameter #1 $value of method Illuminate\Database\Schema\ColumnDefinition::nullable() expects bool, int given. +::error file=database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php,line=31,col=0::Parameter #1 $value of method Illuminate\Database\Schema\ColumnDefinition::nullable() expects bool, int given. +::error file=database/seeders/RecipeCommentSeeder.php,line=29,col=0::Call to an undefined method App\Models\PlanComment::recipe(). +::error file=routes/console.php,line=18,col=0::Undefined variable: $this +::error file=tests/Feature/ApiTokenPermissionsTest.php,line=22,col=0::Unreachable statement - code above always terminates. +::error file=tests/Feature/ApiTokenPermissionsTest.php,line=43,col=0::Call to an undefined method Illuminate\Database\Eloquent\Model::can(). +::error file=tests/Feature/ApiTokenPermissionsTest.php,line=44,col=0::Call to an undefined method Illuminate\Database\Eloquent\Model::can(). +::error file=tests/Feature/ApiTokenPermissionsTest.php,line=45,col=0::Call to an undefined method Illuminate\Database\Eloquent\Model::can(). +::error file=tests/Feature/CreateApiTokenTest.php,line=21,col=0::Unreachable statement - code above always terminates. +::error file=tests/Feature/CreateApiTokenTest.php,line=37,col=0::Access to an undefined property Illuminate\Database\Eloquent\Model::$name. +::error file=tests/Feature/CreateApiTokenTest.php,line=38,col=0::Call to an undefined method Illuminate\Database\Eloquent\Model::can(). +::error file=tests/Feature/CreateApiTokenTest.php,line=39,col=0::Call to an undefined method Illuminate\Database\Eloquent\Model::can(). +::error file=tests/Feature/DeleteAccountTest.php,line=21,col=0::Unreachable statement - code above always terminates. +::error file=tests/Feature/DeleteAccountTest.php,line=38,col=0::Unreachable statement - code above always terminates. +::error file=tests/Feature/DeleteApiTokenTest.php,line=22,col=0::Unreachable statement - code above always terminates. +::error file=tests/Feature/DeleteApiTokenTest.php,line=34,col=0::Access to an undefined property Illuminate\Database\Eloquent\Model::$id. +::error file=tests/Feature/EmailVerificationTest.php,line=23,col=0::Unreachable statement - code above always terminates. +::error file=tests/Feature/EmailVerificationTest.php,line=38,col=0::Unreachable statement - code above always terminates. +::error file=tests/Feature/EmailVerificationTest.php,line=64,col=0::Unreachable statement - code above always terminates. +::error file=tests/Feature/MealFormTest.php,line=12,col=0::Method Tests\Feature\MealFormTest::diary_creation_page_contains_livewire_component() has no return type specified. +::error file=tests/Feature/MealFormTest.php,line=19,col=0::Call to an undefined method Illuminate\Testing\TestResponse::assertSeeLivewire(). +::error file=tests/Feature/MealFormTest.php,line=23,col=0::Method Tests\Feature\MealFormTest::meal_form_productName_is_required() has no return type specified. +::error file=tests/Feature/MealFormTest.php,line=47,col=0::Method Tests\Feature\MealFormTest::meal_form_add_portion() has no return type specified. +::error file=tests/Feature/PasswordResetTest.php,line=21,col=0::Unreachable statement - code above always terminates. +::error file=tests/Feature/PasswordResetTest.php,line=34,col=0::Unreachable statement - code above always terminates. +::error file=tests/Feature/PasswordResetTest.php,line=53,col=0::Unreachable statement - code above always terminates. +::error file=tests/Feature/PasswordResetTest.php,line=78,col=0::Unreachable statement - code above always terminates. +::error file=tests/Feature/Plan/CreateTest.php,line=19,col=0::Property Tests\Feature\Plan\CreateTest::$image has no type specified. +::error file=tests/Feature/Plan/CreateTest.php,line=21,col=0::Property Tests\Feature\Plan\CreateTest::$plan has no type specified. +::error file=tests/Feature/Plan/CreateTest.php,line=37,col=0::Method Tests\Feature\Plan\CreateTest::test_show_form_create_plan() has no return type specified. +::error file=tests/Feature/Plan/EditTest.php,line=18,col=0::Property Tests\Feature\Plan\EditTest::$image has no type specified. +::error file=tests/Feature/Plan/EditTest.php,line=35,col=0::Method Tests\Feature\Plan\EditTest::test_show_form_edit_plan() has no return type specified. +::error file=tests/Feature/Plan/IndexTest.php,line=14,col=0::Property Tests\Feature\Plan\IndexTest::$plan has no type specified. +::error file=tests/Feature/Plan/IndexTest.php,line=14,col=0::Property Tests\Feature\Plan\IndexTest::$plan is never read, only written. +::error file=tests/Feature/Plan/IndexTest.php,line=26,col=0::Method Tests\Feature\Plan\IndexTest::test_index_page_success() has no return type specified. +::error file=tests/Feature/Plan/ShowTest.php,line=17,col=0::Property Tests\Feature\Plan\ShowTest::$plan has no type specified. +::error file=tests/Feature/Plan/ShowTest.php,line=29,col=0::Method Tests\Feature\Plan\ShowTest::test_show_page_success() has no return type specified. +::error file=tests/Feature/ProfileInformationTest.php,line=21,col=0::Access to an undefined property Livewire\Features\SupportTesting\Testable::$state. +::error file=tests/Feature/ProfileInformationTest.php,line=22,col=0::Access to an undefined property Livewire\Features\SupportTesting\Testable::$state. +::error file=tests/Feature/Recipe/CreateTest.php,line=25,col=0::Property Tests\Feature\Recipe\CreateTest::$image has no type specified. +::error file=tests/Feature/Recipe/CreateTest.php,line=27,col=0::Property Tests\Feature\Recipe\CreateTest::$steps has no type specified. +::error file=tests/Feature/Recipe/CreateTest.php,line=27,col=0::Property Tests\Feature\Recipe\CreateTest::$steps is unused. +::error file=tests/Feature/Recipe/CreateTest.php,line=38,col=0::Property Tests\Feature\Recipe\CreateTest::$recipe (App\Models\Recipe) does not accept App\Models\Plan. +::error file=tests/Feature/Recipe/EditTest.php,line=53,col=0::Property Tests\Feature\Recipe\EditTest::$recipe (App\Models\Recipe) does not accept App\Models\Plan. +::error file=tests/Feature/Recipe/EditTest.php,line=58,col=0::Access to an undefined property App\Models\Plan::$title. +::error file=tests/Feature/Recipe/EditTest.php,line=59,col=0::Access to an undefined property App\Models\Plan::$title. +::error file=tests/Feature/Recipe/EditTest.php,line=63,col=0::Access to an undefined property App\Models\Plan::$cooking_time. +::error file=tests/Feature/Recipe/EditTest.php,line=64,col=0::Access to an undefined property App\Models\Plan::$cooking_time. +::error file=tests/Feature/Recipe/EditTest.php,line=65,col=0::Access to an undefined property App\Models\Plan::$ingredients. +::error file=tests/Feature/Recipe/EditTest.php,line=66,col=0::Access to an undefined property App\Models\Plan::$ingredients. +::error file=tests/Feature/Recipe/EditTest.php,line=69,col=0::Access to an undefined property App\Models\Plan::$description. +::error file=tests/Feature/Recipe/EditTest.php,line=70,col=0::Access to an undefined property App\Models\Plan::$description. +::error file=tests/Feature/Recipe/EditTest.php,line=71,col=0::Access to an undefined property App\Models\Plan::$video_url. +::error file=tests/Feature/Recipe/EditTest.php,line=72,col=0::Access to an undefined property App\Models\Plan::$video_url. +::error file=tests/Feature/Recipe/EditTest.php,line=84,col=0::Access to an undefined property App\Models\Plan::$title. +::error file=tests/Feature/Recipe/EditTest.php,line=86,col=0::Access to an undefined property App\Models\Plan::$cooking_time. +::error file=tests/Feature/Recipe/EditTest.php,line=87,col=0::Access to an undefined property App\Models\Plan::$ingredients. +::error file=tests/Feature/Recipe/EditTest.php,line=89,col=0::Access to an undefined property App\Models\Plan::$description. +::error file=tests/Feature/Recipe/EditTest.php,line=90,col=0::Access to an undefined property App\Models\Plan::$video_url. +::error file=tests/Feature/Recipe/EditTest.php,line=101,col=0::Property Tests\Feature\Recipe\EditTest::$recipe (App\Models\Recipe) does not accept App\Models\Plan. +::error file=tests/Feature/Recipe/EditTest.php,line=106,col=0::Access to an undefined property App\Models\Plan::$title. +::error file=tests/Feature/Recipe/EditTest.php,line=107,col=0::Access to an undefined property App\Models\Plan::$title. +::error file=tests/Feature/Recipe/EditTest.php,line=111,col=0::Access to an undefined property App\Models\Plan::$cooking_time. +::error file=tests/Feature/Recipe/EditTest.php,line=112,col=0::Access to an undefined property App\Models\Plan::$cooking_time. +::error file=tests/Feature/Recipe/EditTest.php,line=113,col=0::Access to an undefined property App\Models\Plan::$ingredients. +::error file=tests/Feature/Recipe/EditTest.php,line=114,col=0::Access to an undefined property App\Models\Plan::$ingredients. +::error file=tests/Feature/Recipe/EditTest.php,line=117,col=0::Access to an undefined property App\Models\Plan::$description. +::error file=tests/Feature/Recipe/EditTest.php,line=118,col=0::Access to an undefined property App\Models\Plan::$description. +::error file=tests/Feature/Recipe/EditTest.php,line=119,col=0::Access to an undefined property App\Models\Plan::$video_url. +::error file=tests/Feature/Recipe/EditTest.php,line=120,col=0::Access to an undefined property App\Models\Plan::$video_url. +::error file=tests/Feature/Recipe/EditTest.php,line=131,col=0::Access to an undefined property App\Models\Plan::$title. +::error file=tests/Feature/Recipe/EditTest.php,line=133,col=0::Access to an undefined property App\Models\Plan::$cooking_time. +::error file=tests/Feature/Recipe/EditTest.php,line=134,col=0::Access to an undefined property App\Models\Plan::$ingredients. +::error file=tests/Feature/Recipe/EditTest.php,line=136,col=0::Access to an undefined property App\Models\Plan::$description. +::error file=tests/Feature/Recipe/EditTest.php,line=137,col=0::Access to an undefined property App\Models\Plan::$video_url. +::error file=tests/Feature/Recipe/EditTest.php,line=147,col=0::Property Tests\Feature\Recipe\EditTest::$recipe (App\Models\Recipe) does not accept App\Models\Plan. +::error file=tests/Feature/Recipe/EditTest.php,line=152,col=0::Access to an undefined property App\Models\Plan::$title. +::error file=tests/Feature/Recipe/EditTest.php,line=153,col=0::Access to an undefined property App\Models\Plan::$title. +::error file=tests/Feature/Recipe/EditTest.php,line=157,col=0::Access to an undefined property App\Models\Plan::$cooking_time. +::error file=tests/Feature/Recipe/EditTest.php,line=158,col=0::Access to an undefined property App\Models\Plan::$cooking_time. +::error file=tests/Feature/Recipe/EditTest.php,line=159,col=0::Access to an undefined property App\Models\Plan::$ingredients. +::error file=tests/Feature/Recipe/EditTest.php,line=160,col=0::Access to an undefined property App\Models\Plan::$ingredients. +::error file=tests/Feature/Recipe/EditTest.php,line=163,col=0::Access to an undefined property App\Models\Plan::$description. +::error file=tests/Feature/Recipe/EditTest.php,line=164,col=0::Access to an undefined property App\Models\Plan::$description. +::error file=tests/Feature/Recipe/EditTest.php,line=165,col=0::Access to an undefined property App\Models\Plan::$video_url. +::error file=tests/Feature/Recipe/EditTest.php,line=166,col=0::Access to an undefined property App\Models\Plan::$video_url. +::error file=tests/Feature/Recipe/EditTest.php,line=177,col=0::Access to an undefined property App\Models\Plan::$title. +::error file=tests/Feature/Recipe/EditTest.php,line=179,col=0::Access to an undefined property App\Models\Plan::$cooking_time. +::error file=tests/Feature/Recipe/EditTest.php,line=180,col=0::Access to an undefined property App\Models\Plan::$ingredients. +::error file=tests/Feature/Recipe/EditTest.php,line=182,col=0::Access to an undefined property App\Models\Plan::$description. +::error file=tests/Feature/Recipe/EditTest.php,line=183,col=0::Access to an undefined property App\Models\Plan::$video_url. +::error file=tests/Feature/Recipe/IndexTest.php,line=14,col=0::Property Tests\Feature\Recipe\IndexTest::$recipe is never read, only written. +::error file=tests/Feature/Recipe/IndexTest.php,line=26,col=0::Method Tests\Feature\Recipe\IndexTest::test_index_page_success() has no return type specified. +::error file=tests/Feature/Recipe/ShowTest.php,line=26,col=0::Method Tests\Feature\Recipe\ShowTest::test_show_page_success() has no return type specified. +::error file=tests/Feature/RegistrationTest.php,line=20,col=0::Unreachable statement - code above always terminates. +::error file=tests/Feature/RegistrationTest.php,line=33,col=0::Unreachable statement - code above always terminates. +::error file=tests/Feature/RegistrationTest.php,line=46,col=0::Unreachable statement - code above always terminates. +::error file=tests/Feature/TwoFactorAuthenticationSettingsTest.php,line=21,col=0::Unreachable statement - code above always terminates. +::error file=tests/Feature/TwoFactorAuthenticationSettingsTest.php,line=42,col=0::Unreachable statement - code above always terminates. +::error file=tests/Feature/TwoFactorAuthenticationSettingsTest.php,line=66,col=0::Unreachable statement - code above always terminates. +::error file=tests/TestCase.php,line=30,col=0::Method Tests\TestCase::refreshApplicationWithLocale() has no return type specified. +::error file=tests/TestCase.php,line=30,col=0::Method Tests\TestCase::refreshApplicationWithLocale() has parameter $locale with no type specified. +::error ::Ignored error pattern /Parameter #1 \$value of function collect expects/ was not matched in reported errors. +::error ::Ignored error pattern /PHPDoc type array of property App\\Models\\User::\$hidden is not covariant with PHPDoc type/ was not matched in reported errors. +::error ::Ignored error pattern /PHPDoc type array of property App\\Models\\User::\$casts is not covariant with PHPDoc type/ was not matched in reported errors. +::error ::Ignored error pattern /is not covariant with PHPDoc type/ was not matched in reported errors. +Script phpstan analyse --ansi --memory-limit 512M --error-format=github handling the static-analysis event returned with error code 1 diff --git a/database/.gitignore b/database/.gitignore new file mode 100644 index 0000000..9b19b93 --- /dev/null +++ b/database/.gitignore @@ -0,0 +1 @@ +*.sqlite* diff --git a/database/factories/BlogPostFactory.php b/database/factories/BlogPostFactory.php new file mode 100644 index 0000000..1780ea6 --- /dev/null +++ b/database/factories/BlogPostFactory.php @@ -0,0 +1,47 @@ + + */ +class BlogPostFactory extends Factory +{ + protected $model = BlogPost::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + $imagePath = storage_path('app/public'); + $curImage = $this->faker->image($imagePath.'/blog_posts', 360, 360, 'animals', true, true, 'cats', true, 'jpg'); + $curImage = Str::replace($imagePath, '', $curImage); + + return [ + 'state' => $this->faker->randomElement(['active', 'archived']), + 'image' => $curImage, + 'description' => $this->faker->realText($this->faker->numberBetween(100, 200)), + 'youtube_url' => $this->faker->url(), + 'created_at' => $this->faker->dateTimeBetween('-1 week', '+1 week'), + 'updated_at' => $this->faker->dateTimeBetween('-1 week', '+1 week'), + 'title' => $this->faker->realText($this->faker->numberBetween(10, 20)), + ]; + } + + public function some() + { + User::orderBy('created_at', 'desc')->limit(20)->get()->map(function ($user) { + $newBlogPosts = BlogPost::factory()->count(3)->create(); + $newBlogPosts->map(function ($post) use ($user) { + $user->author_of_blog_post()->attach($post->id); + }); + }); + } +} diff --git a/database/factories/DiaryFactory.php b/database/factories/DiaryFactory.php new file mode 100644 index 0000000..f36205d --- /dev/null +++ b/database/factories/DiaryFactory.php @@ -0,0 +1,32 @@ + + */ +class DiaryFactory extends Factory +{ + protected $model = Diary::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + 'user_id' => User::factory(), + 'date' => $this->faker->date('Y-m-d'), + 'wakeup' => '06:30:00', + 'retire' => '22:30:00', + 'comment' => 'some comment for tests', + 'closed' => false, + ]; + } +} diff --git a/database/factories/DietFactory.php b/database/factories/DietFactory.php new file mode 100644 index 0000000..d4917be --- /dev/null +++ b/database/factories/DietFactory.php @@ -0,0 +1,89 @@ + + */ +class DietFactory extends Factory +{ + + /** + * Define the model's default state. + * + * @return array + */ + public function definition(): array + { + $faker = \Faker\Factory::create(); + $this->faker->addProvider(new Restaurant($faker)); + $dietDuration = $this->faker->randomElement([7, 14, 21]); + $dietState = $this->faker->randomElement(['active','draft','archived']); + $numberOfDefinedDietTypes = $this->faker->numberBetween(1, 4); + $expectedDietTypes = ['meat', 'veg', 'corb', 'alko']; + $selectedDietTypes = $this->faker->randomElements($expectedDietTypes, $numberOfDefinedDietTypes); + $dietTypes = array_reduce( + $selectedDietTypes, + function($acc, $el) { + $acc[$el] = true; + return $acc; + }, + [] + ); + $dietEatingTypes = ['breakfast', 'dinner', 'supper', 'lunch', 'snacks']; + $dailySchedule = []; + $images = ['1.jpg', '2.jpg', '3.jpg', '4.jpg', '5.jpg', '6.jpg', '7.png', '8.png', '9.jpg', '10.png']; + Storage::fake('diets'); + $imageFileKey = $this->faker->numberBetween(0, 9); + $imageFilePath = 'database/assets/images/diets/' . $images[$imageFileKey]; + $file = new File($imageFilePath); + $fileLocalPath = Storage::putFile('diets', $file, 'public'); + + for($day = 1; $day <= $dietDuration ; $day++) { + foreach($dietEatingTypes as $eatingType) { + + $numberOfProductsInCurrentMeel = $this->faker->numberBetween(1, 4); + + for(;$numberOfProductsInCurrentMeel > 0; $numberOfProductsInCurrentMeel--) { + $meelName = $this->faker->foodName(); + $dailySchedule[$day][$eatingType][] = [ + 'name' => $meelName, + 'quantity' => $this->faker->numberBetween(1, 1000), + 'portion' => $this->faker->randomElement(['grams', 'pcs', 'milliliters']), + 'uniq' => $meelName . '-' . time(), + ]; + } + } + } + + $dietName = $this->faker->randomElement([ + $this->faker->foodName(), + $this->faker->beverageName(), + $this->faker->dairyName(), + $this->faker->vegetableName(), + $this->faker->fruitName(), + $this->faker->meatName(), + $this->faker->sauceName(), + ]); + + $dietNamePrefix = $this->faker->randomElement(['Super', 'Keto', 'Fast', 'Detox', 'Power Of', 'Green', 'Healthy', 'Turbo']); + + return [ + 'name' => $dietNamePrefix . " " . $dietName . " Diet", + 'duration' => $dietDuration, + 'state' => $dietState, + 'image' => $fileLocalPath, + 'type' => $dietTypes, + 'details' => $this->faker->paragraph(3, true), + 'daily_schedule' => $dailySchedule + ]; + } +} diff --git a/database/factories/PlanCommentFactory.php b/database/factories/PlanCommentFactory.php new file mode 100755 index 0000000..273be38 --- /dev/null +++ b/database/factories/PlanCommentFactory.php @@ -0,0 +1,26 @@ + + */ +class PlanCommentFactory extends Factory +{ + /** + * Define the model's default state. + * + * @return array + */ + public function definition(): array + { + + return [ + 'grade' => $this->faker->randomDigit(), + 'body' => $this->faker->text(), + ]; + + } +} diff --git a/database/factories/PlanFactory.php b/database/factories/PlanFactory.php new file mode 100755 index 0000000..6a5ccba --- /dev/null +++ b/database/factories/PlanFactory.php @@ -0,0 +1,79 @@ + + */ +class PlanFactory extends Factory +{ + /** + * Define the model's default state. + * + * @return array + */ + public function definition(): array + { + + $faker = \Faker\Factory::create(); + $this->faker->addProvider(new Restaurant($faker)); + + $active = $this->faker->boolean(); + + $typeBody = [ + 'fit' => $this->faker->boolean(), + 'slim' => $this->faker->boolean(), + 'behavior' => $this->faker->boolean(), + 'wellness' => $this->faker->boolean(), + ]; + + $wrongTypeBody = json_encode($typeBody); + + $packetsOptions1 = [ + 'items' => [$this->faker->fruitName(), $this->faker->meatName(), $this->faker->sauceName()], + 'price' => $this->faker->randomNumber(), + 'short' => $this->faker->foodName(), + 'description' => $this->faker->text(), + ]; + + + $packetsOptions2 = [ + 'items' => [$this->faker->fruitName(), $this->faker->meatName(), $this->faker->sauceName()], + 'price' => $this->faker->randomNumber(), + 'short' => $this->faker->foodName(), + 'description' => $this->faker->text(), + ]; + + + $packetsOptions3 = [ + 'items' => [$this->faker->fruitName(), $this->faker->meatName(), $this->faker->sauceName()], + 'price' => $this->faker->randomNumber(), + 'short' => $this->faker->foodName(), + 'description' => $this->faker->text(), + ]; + + Storage::fake('plans'); + $file = UploadedFile::fake()->image('plan.png'); + $fileLocalPath = $file->store('plans', 'public'); + + return [ + 'name' => $this->faker->foodName(), + // 'image' => UploadedFile::fake()->image('plans/Photo_C.png'), + 'image' => $fileLocalPath, + 'duration' => $this->faker->randomElement([7, 14, 21]), + 'state' => $this->faker->randomElement(['active', 'draft', 'unactive']), + //'type' => $this->faker->randomElement([$typeBody, $wrongTypeBody]), + 'type' => $typeBody, + 'details' => $this->faker->text(), + 'packets_count' => $this->faker->randomElement([1, 3]), + 'packet1_options' => $packetsOptions1, + 'packet2_options' => $active ? $packetsOptions2 : '', + 'packet3_options' => $active ? $packetsOptions3 : '', + ]; + } +} diff --git a/database/factories/UserDetailzFactory.php b/database/factories/UserDetailzFactory.php new file mode 100644 index 0000000..6bd865b --- /dev/null +++ b/database/factories/UserDetailzFactory.php @@ -0,0 +1,50 @@ + + */ +class UserDetailzFactory extends Factory +{ + protected $model = UserDetailz::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition() + { + return [ + // 'user_id' => User::factory(), + 'first_name' => $this->faker->name(), + 'last_name' => $this->faker->name(), + 'birthdate' => $this->faker->date('Y-m-d'), + 'gender' => $this->faker->randomElement(['male', 'female']), + 'country' => $this->faker->countryCode(), + 'city' => $this->faker->randomElement(['Moscow', 'Kyev', 'New-York', 'Minsk']), + 'lang' => $this->faker->languageCode(), + 'weight' => $this->faker->numberBetween(90, 200), + 'chest_circumference' => $this->faker->randomNumber(2, true), + 'waist_circumference' => $this->faker->randomNumber(2, true), + 'hip_circumference' => $this->faker->randomNumber(2, true), + 'blood_pressure_up' => $this->faker->randomNumber(3, true), + 'blood_pressure_down' => $this->faker->randomNumber(3, true), + 'has_hypo' => $this->faker->randomElement(['0', '1']), + 'has_hyper' => $this->faker->randomElement(['0', '1']), + 'about_alergy' => $this->faker->text(), + 'about_taking_pils' => $this->faker->text(), + 'about_sport_hobbies' => $this->faker->text(), + 'favorite_foods' => $this->faker->text(), + 'unfavorite_foods' => $this->faker->text(), + 'additional_info' => $this->faker->text(), + 'is_mood_fillable' => $this->faker->boolean(), + 'is_bedtime_fillable' => $this->faker->boolean(), + ]; + } +} diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php new file mode 100644 index 0000000..563d0f4 --- /dev/null +++ b/database/factories/UserFactory.php @@ -0,0 +1,69 @@ + + */ +class UserFactory extends Factory +{ + /** + * Define the model's default state. + * + * @return array + */ + public function definition(): array + { + + return [ + 'name' => $this->faker->name(), + 'email' => $this->faker->unique()->safeEmail(), + 'email_verified_at' => now(), + 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password + 'two_factor_secret' => null, + 'two_factor_recovery_codes' => null, + 'remember_token' => Str::random(10), + 'profile_photo_path' => null, + 'current_team_id' => null, + ]; + } + + /** + * Indicate that the model's email address should be unverified. + */ + public function unverified(): static + { + return $this->state(function (array $attributes) { + return [ + 'email_verified_at' => null, + ]; + }); + } + + /** + * Indicate that the user should have a personal team. + */ + public function withPersonalTeam(?callable $callback = null): static + { + if (! Features::hasTeamFeatures()) { + return $this->state([]); + } + + return $this->has( + Team::factory() + ->state(fn (array $attributes, User $user) => [ + 'name' => $user->name.'\'s Team', + 'user_id' => $user->id, + 'personal_team' => true, + ]) + ->when(is_callable($callback), $callback), + 'ownedTeams' + ); + } +} diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php new file mode 100644 index 0000000..f56e5c6 --- /dev/null +++ b/database/migrations/2014_10_12_000000_create_users_table.php @@ -0,0 +1,34 @@ +id(); + $table->string('name'); + $table->string('email')->unique(); + $table->timestamp('email_verified_at')->nullable(); + $table->string('password'); + $table->rememberToken(); + $table->foreignId('current_team_id')->nullable(); + $table->string('profile_photo_path', 2048)->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('users'); + } +}; diff --git a/database/migrations/2014_10_12_100000_create_password_resets_table.php b/database/migrations/2014_10_12_100000_create_password_resets_table.php new file mode 100644 index 0000000..fcacb80 --- /dev/null +++ b/database/migrations/2014_10_12_100000_create_password_resets_table.php @@ -0,0 +1,32 @@ +string('email')->index(); + $table->string('token'); + $table->timestamp('created_at')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('password_resets'); + } +}; diff --git a/database/migrations/2014_10_12_200000_add_two_factor_columns_to_users_table.php b/database/migrations/2014_10_12_200000_add_two_factor_columns_to_users_table.php new file mode 100644 index 0000000..b490e24 --- /dev/null +++ b/database/migrations/2014_10_12_200000_add_two_factor_columns_to_users_table.php @@ -0,0 +1,46 @@ +text('two_factor_secret') + ->after('password') + ->nullable(); + + $table->text('two_factor_recovery_codes') + ->after('two_factor_secret') + ->nullable(); + + if (Fortify::confirmsTwoFactorAuthentication()) { + $table->timestamp('two_factor_confirmed_at') + ->after('two_factor_recovery_codes') + ->nullable(); + } + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('users', function (Blueprint $table) { + $table->dropColumn(array_merge([ + 'two_factor_secret', + 'two_factor_recovery_codes', + ], Fortify::confirmsTwoFactorAuthentication() ? [ + 'two_factor_confirmed_at', + ] : [])); + }); + } +}; diff --git a/database/migrations/2019_08_19_000000_create_failed_jobs_table.php b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php new file mode 100644 index 0000000..1719198 --- /dev/null +++ b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php @@ -0,0 +1,36 @@ +id(); + $table->string('uuid')->unique(); + $table->text('connection'); + $table->text('queue'); + $table->longText('payload'); + $table->longText('exception'); + $table->timestamp('failed_at')->useCurrent(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('failed_jobs'); + } +}; diff --git a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php new file mode 100644 index 0000000..e828ad8 --- /dev/null +++ b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php @@ -0,0 +1,33 @@ +id(); + $table->morphs('tokenable'); + $table->string('name'); + $table->string('token', 64)->unique(); + $table->text('abilities')->nullable(); + $table->timestamp('last_used_at')->nullable(); + $table->timestamp('expires_at')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('personal_access_tokens'); + } +}; diff --git a/database/migrations/2022_03_30_125533_create_sessions_table.php b/database/migrations/2022_03_30_125533_create_sessions_table.php new file mode 100644 index 0000000..c455537 --- /dev/null +++ b/database/migrations/2022_03_30_125533_create_sessions_table.php @@ -0,0 +1,35 @@ +string('id')->primary(); + $table->foreignId('user_id')->nullable()->index(); + $table->string('ip_address', 45)->nullable(); + $table->text('user_agent')->nullable(); + $table->text('payload'); + $table->integer('last_activity')->index(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('sessions'); + } +}; diff --git a/database/migrations/2022_03_31_093623_create_user_detailzs_table.php b/database/migrations/2022_03_31_093623_create_user_detailzs_table.php new file mode 100644 index 0000000..095f5dc --- /dev/null +++ b/database/migrations/2022_03_31_093623_create_user_detailzs_table.php @@ -0,0 +1,53 @@ +id(); + $table->bigInteger('user_id')->nullable(); + $table->string('first_name', 256)->default(''); + $table->string('last_name', 256)->default(''); + $table->date('birthdate')->default('1980-01-01')->nullable(false); + $table->string('gender')->default(''); + $table->string('country')->default(''); + $table->string('city')->default(''); + $table->string('lang')->default(''); + $table->smallInteger('weight')->default(0); + $table->smallInteger('chest_circumference')->default(0); + $table->smallInteger('waist_circumference')->default(0); + $table->smallInteger('hip_circumference')->default(0); + $table->smallInteger('blood_pressure_up')->default(0); + $table->smallInteger('blood_pressure_down')->default(0); + $table->boolean('has_hypo')->default(false); + $table->boolean('has_hyper')->default(false); + $table->text('about_alergy'); + $table->text('about_taking_pils'); + $table->text('about_sport_hobbies'); + $table->text('favorite_foods'); + $table->text('unfavorite_foods'); + $table->text('additional_info'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('user_detailzs'); + } +}; diff --git a/database/migrations/2022_04_05_105659_create_diaries_table.php b/database/migrations/2022_04_05_105659_create_diaries_table.php new file mode 100644 index 0000000..7a4361e --- /dev/null +++ b/database/migrations/2022_04_05_105659_create_diaries_table.php @@ -0,0 +1,42 @@ +id(); + $table->foreignId('user_id') + ->nullable() + ->constrained() + ->onUpdate('cascade') + ->onDelete('cascade'); + /* $table->unsignedBigInteger('user_id'); */ + $table->date('date'); + $table->time('wakeup'); + $table->time('retire'); + $table->timestamps(); + /* $table->foreign('user_id')->references('id')->on('users'); */ + + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('diaries'); + } +}; diff --git a/database/migrations/2022_04_05_105723_create_meals_table.php b/database/migrations/2022_04_05_105723_create_meals_table.php new file mode 100644 index 0000000..1022e26 --- /dev/null +++ b/database/migrations/2022_04_05_105723_create_meals_table.php @@ -0,0 +1,45 @@ +id(); + $table->foreignId('user_id') + ->nullable() + ->constrained('users') + ->onUpdate('cascade') + ->onDelete('cascade'); + $table->foreignId('diary_id') + ->nullable() + ->constrained('diaries') + ->onUpdate('cascade') + ->onDelete('cascade'); + $table->time('time'); + $table->unsignedTinyInteger('type'); + $table->tinyInteger('satiety'); + $table->tinyInteger('mood'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('meals'); + } +}; diff --git a/database/migrations/2022_04_06_140318_create_portions_table.php b/database/migrations/2022_04_06_140318_create_portions_table.php new file mode 100644 index 0000000..41e56b2 --- /dev/null +++ b/database/migrations/2022_04_06_140318_create_portions_table.php @@ -0,0 +1,38 @@ +id(); + $table->foreignId('meal_id') + ->constrained('meals') + ->onUpdate('cascade') + ->onDelete('cascade'); + $table->string('product_name'); + $table->string('portion'); + $table->smallInteger('quantity'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('portions'); + } +}; diff --git a/database/migrations/2022_04_13_123342_add_closed_to_tasks.php b/database/migrations/2022_04_13_123342_add_closed_to_tasks.php new file mode 100644 index 0000000..efb7c7d --- /dev/null +++ b/database/migrations/2022_04_13_123342_add_closed_to_tasks.php @@ -0,0 +1,32 @@ +boolean('closed')->default(false); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('diaries', function (Blueprint $table) { + $table->dropColumn('closed'); + }); + } +}; diff --git a/database/migrations/2022_04_14_110737_create_calendars_table.php b/database/migrations/2022_04_14_110737_create_calendars_table.php new file mode 100644 index 0000000..7776206 --- /dev/null +++ b/database/migrations/2022_04_14_110737_create_calendars_table.php @@ -0,0 +1,31 @@ +id(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('calendars'); + } +}; diff --git a/database/migrations/2022_05_13_131919_create_circumference_measures_table.php b/database/migrations/2022_05_13_131919_create_circumference_measures_table.php new file mode 100644 index 0000000..6c85d52 --- /dev/null +++ b/database/migrations/2022_05_13_131919_create_circumference_measures_table.php @@ -0,0 +1,35 @@ +id(); + $table->bigInteger('user_id'); + $table->smallInteger('chest_circumference')->default(0); + $table->smallInteger('waist_circumference')->default(0); + $table->smallInteger('hip_circumference')->default(0); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('circumference_measures'); + } +}; diff --git a/database/migrations/2022_05_17_111617_create_weight_measures_table.php b/database/migrations/2022_05_17_111617_create_weight_measures_table.php new file mode 100644 index 0000000..d251581 --- /dev/null +++ b/database/migrations/2022_05_17_111617_create_weight_measures_table.php @@ -0,0 +1,33 @@ +id(); + $table->bigInteger('user_id'); + $table->smallInteger('weight')->default(0); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('weight_measures'); + } +}; diff --git a/database/migrations/2022_05_20_120407_create_consultant_education_table.php b/database/migrations/2022_05_20_120407_create_consultant_education_table.php new file mode 100644 index 0000000..907e9a7 --- /dev/null +++ b/database/migrations/2022_05_20_120407_create_consultant_education_table.php @@ -0,0 +1,39 @@ +id(); + $table->bigInteger('user_id'); + $table->json('completed_courses'); + $table->boolean('has_medical_education')->default(false); + $table->string('vk_link')->default(''); + $table->string('insta_link')->default(''); + $table->string('fb_link')->default(''); + $table->string('tg_link')->default(''); + $table->string('request_state')->default(''); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('consultant_education'); + } +}; diff --git a/database/migrations/2022_05_23_140744_create_user_attachments_table.php b/database/migrations/2022_05_23_140744_create_user_attachments_table.php new file mode 100644 index 0000000..085a76b --- /dev/null +++ b/database/migrations/2022_05_23_140744_create_user_attachments_table.php @@ -0,0 +1,37 @@ +id(); + $table->bigInteger('user_id'); + $table->string('group')->default('user_files'); + $table->string('original_name'); + $table->string('path'); + $table->integer('size')->default(0); + $table->json('specs'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('user_attachments'); + } +}; diff --git a/database/migrations/2022_05_26_101953_add_is_consultant_to_users.php b/database/migrations/2022_05_26_101953_add_is_consultant_to_users.php new file mode 100644 index 0000000..2ffe046 --- /dev/null +++ b/database/migrations/2022_05_26_101953_add_is_consultant_to_users.php @@ -0,0 +1,32 @@ +boolean('is_consultant')->default(false); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('users', function (Blueprint $table) { + $table->dropColumn('is_consultant'); + }); + } +}; diff --git a/database/migrations/2022_05_30_142724_create_meal_user_attachment_table.php b/database/migrations/2022_05_30_142724_create_meal_user_attachment_table.php new file mode 100644 index 0000000..3ab5ec2 --- /dev/null +++ b/database/migrations/2022_05_30_142724_create_meal_user_attachment_table.php @@ -0,0 +1,33 @@ +id(); + $table->bigInteger('meal_id'); + $table->bigInteger('user_attachment_id'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('meal_user_attachment'); + } +}; diff --git a/database/migrations/2022_06_03_085504_create_consultant_diary_comments_table.php b/database/migrations/2022_06_03_085504_create_consultant_diary_comments_table.php new file mode 100644 index 0000000..1b8960f --- /dev/null +++ b/database/migrations/2022_06_03_085504_create_consultant_diary_comments_table.php @@ -0,0 +1,35 @@ +id(); + $table->bigInteger('user_id')->comment('consultant id'); + $table->bigInteger('diary_id'); + $table->string('comment_type', 128); + $table->text('comment'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('consultant_diary_comments'); + } +}; diff --git a/database/migrations/2022_06_03_131304_add_comment_to_diaries.php b/database/migrations/2022_06_03_131304_add_comment_to_diaries.php new file mode 100644 index 0000000..b71057b --- /dev/null +++ b/database/migrations/2022_06_03_131304_add_comment_to_diaries.php @@ -0,0 +1,32 @@ +text('comment'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('diaries', function (Blueprint $table) { + $table->dropColumn('comment'); + }); + } +}; diff --git a/database/migrations/2022_06_29_135450_create_plans_table.php b/database/migrations/2022_06_29_135450_create_plans_table.php new file mode 100644 index 0000000..f447088 --- /dev/null +++ b/database/migrations/2022_06_29_135450_create_plans_table.php @@ -0,0 +1,41 @@ +id(); + $table->string('name')->comment('name of plan'); + $table->string('image')->nullable()->comment('public path to image'); + $table->smallInteger('duration')->comment('plan duration - 7, 14, 21 days'); + $table->string('state')->comment('active/draft/archived'); + $table->json('type')->comment('to lose weight, to gain weight, to improve your mood, to shape your eating behavior'); + $table->text('details')->comment('plan details'); + $table->tinyInteger('packets_count')->comment('1 on 3 packets of options in plan'); + $table->json('packet1_options'); + $table->json('packet2_options'); + $table->json('packet3_options'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('plans'); + } +}; diff --git a/database/migrations/2022_06_30_090341_create_rich_texts_table.php b/database/migrations/2022_06_30_090341_create_rich_texts_table.php new file mode 100644 index 0000000..0ecd6bf --- /dev/null +++ b/database/migrations/2022_06_30_090341_create_rich_texts_table.php @@ -0,0 +1,26 @@ +id(); + $table->morphs('record'); + $table->string('field'); + $table->longText('body')->nullable(); + $table->timestamps(); + + $table->unique(['field', 'record_type', 'record_id']); + }); + } + + public function down() + { + Schema::dropIfExists('rich_texts'); + } +}; diff --git a/database/migrations/2022_07_08_083503_create_plan_author.php b/database/migrations/2022_07_08_083503_create_plan_author.php new file mode 100644 index 0000000..c5a9dc9 --- /dev/null +++ b/database/migrations/2022_07_08_083503_create_plan_author.php @@ -0,0 +1,31 @@ +bigInteger('user_id'); + $table->bigInteger('plan_id'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('plan_author'); + } +}; diff --git a/database/migrations/2022_07_22_105447_create_plan_comments_table.php b/database/migrations/2022_07_22_105447_create_plan_comments_table.php new file mode 100644 index 0000000..f75a027 --- /dev/null +++ b/database/migrations/2022_07_22_105447_create_plan_comments_table.php @@ -0,0 +1,35 @@ +id(); + $table->bigInteger('user_id'); + $table->bigInteger('plan_id'); + $table->smallInteger('grade')->default(0); + $table->longText('body')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('plan_comments'); + } +}; diff --git a/database/migrations/2022_07_25_100927_create_plan_likes_table.php b/database/migrations/2022_07_25_100927_create_plan_likes_table.php new file mode 100644 index 0000000..7e8c36b --- /dev/null +++ b/database/migrations/2022_07_25_100927_create_plan_likes_table.php @@ -0,0 +1,33 @@ +id(); + $table->foreignId('plan_id'); + $table->foreignId('user_id'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('plan_likes'); + } +}; diff --git a/database/migrations/2022_07_26_111407_create_comment_upvotes_table.php b/database/migrations/2022_07_26_111407_create_comment_upvotes_table.php new file mode 100644 index 0000000..db2097c --- /dev/null +++ b/database/migrations/2022_07_26_111407_create_comment_upvotes_table.php @@ -0,0 +1,34 @@ +id(); + $table->foreignId('comment_id'); + $table->foreignId('user_id'); + $table->string('type')->default('upvote'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('comment_upvotes'); + } +}; diff --git a/database/migrations/2022_08_26_094740_create_diets_table.php b/database/migrations/2022_08_26_094740_create_diets_table.php new file mode 100644 index 0000000..5a9fb41 --- /dev/null +++ b/database/migrations/2022_08_26_094740_create_diets_table.php @@ -0,0 +1,38 @@ +id(); + $table->string('name')->comment('name of diet'); + $table->string('image')->nullable()->comment('public path to image'); + $table->smallInteger('duration')->comment('diet duration - 7, 14, 28 days'); + $table->string('state')->comment('active/draft/archived'); + $table->json('type')->comment('has meat/vegs/carb/alcohol'); + $table->text('details')->comment('diet details'); + $table->json('daily_schedule')->comment('A list of planned foods'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('diets'); + } +}; diff --git a/database/migrations/2022_08_31_111901_diet_author.php b/database/migrations/2022_08_31_111901_diet_author.php new file mode 100644 index 0000000..a9ac9f3 --- /dev/null +++ b/database/migrations/2022_08_31_111901_diet_author.php @@ -0,0 +1,31 @@ +bigInteger('user_id'); + $table->bigInteger('diet_id'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('diet_author'); + } +}; diff --git a/database/migrations/2022_08_31_113609_create_diet_comments_table.php b/database/migrations/2022_08_31_113609_create_diet_comments_table.php new file mode 100644 index 0000000..b0081f7 --- /dev/null +++ b/database/migrations/2022_08_31_113609_create_diet_comments_table.php @@ -0,0 +1,35 @@ +id(); + $table->bigInteger('user_id'); + $table->bigInteger('diet_id'); + $table->smallInteger('grade')->default(0); + $table->longText('body')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('diet_comments'); + } +}; diff --git a/database/migrations/2022_08_31_113618_create_diet_likes_table.php b/database/migrations/2022_08_31_113618_create_diet_likes_table.php new file mode 100644 index 0000000..dbdcb06 --- /dev/null +++ b/database/migrations/2022_08_31_113618_create_diet_likes_table.php @@ -0,0 +1,33 @@ +id(); + $table->foreignId('diet_id'); + $table->foreignId('user_id'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('diet_likes'); + } +}; diff --git a/database/migrations/2022_09_05_101104_create_diet_comment_upvotes_table.php b/database/migrations/2022_09_05_101104_create_diet_comment_upvotes_table.php new file mode 100644 index 0000000..ad6c10a --- /dev/null +++ b/database/migrations/2022_09_05_101104_create_diet_comment_upvotes_table.php @@ -0,0 +1,34 @@ +id(); + $table->foreignId('comment_id'); + $table->foreignId('user_id'); + $table->string('type')->default('upvote'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('diet_comment_upvotes'); + } +}; diff --git a/database/migrations/2022_09_06_115121_create_views_table.php b/database/migrations/2022_09_06_115121_create_views_table.php new file mode 100644 index 0000000..fc140dd --- /dev/null +++ b/database/migrations/2022_09_06_115121_create_views_table.php @@ -0,0 +1,62 @@ +schema = Schema::connection( + config('eloquent-viewable.models.view.connection') + ); + + $this->table = config('eloquent-viewable.models.view.table_name'); + } + + /** + * Run the migrations. + * + * @return void + */ + public function up() + { + $this->schema->create($this->table, function (Blueprint $table) { + $table->bigIncrements('id'); + $table->morphs('viewable'); + $table->text('visitor')->nullable(); + $table->string('collection')->nullable(); + $table->timestamp('viewed_at')->useCurrent(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists($this->table); + } +} diff --git a/database/migrations/2022_09_12_125812_create_chosen_plans_table.php b/database/migrations/2022_09_12_125812_create_chosen_plans_table.php new file mode 100644 index 0000000..8ea92c3 --- /dev/null +++ b/database/migrations/2022_09_12_125812_create_chosen_plans_table.php @@ -0,0 +1,35 @@ +id(); + $table->foreignId('plan_id')->nullable(); + $table->foreignId('user_id')->unique(); + $table->string('last_state')->default('inited'); // requested->paid->started->finished, requested->paid->started->rejected, requested->rejected + $table->timestamp('start_date')->useCurrent(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('chosen_plans'); + } +}; diff --git a/database/migrations/2022_09_12_125818_create_chosen_diets_table.php b/database/migrations/2022_09_12_125818_create_chosen_diets_table.php new file mode 100644 index 0000000..35b2849 --- /dev/null +++ b/database/migrations/2022_09_12_125818_create_chosen_diets_table.php @@ -0,0 +1,35 @@ +id(); + $table->foreignId('diet_id')->nullable(); + $table->foreignId('user_id')->unique(); + $table->string('last_state')->default('inited'); // started->finished, started->rejected + $table->timestamp('start_date')->useCurrent(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('chosen_diets'); + } +}; diff --git a/database/migrations/2022_09_12_132727_create_state_history_table.php b/database/migrations/2022_09_12_132727_create_state_history_table.php new file mode 100644 index 0000000..f6e68a9 --- /dev/null +++ b/database/migrations/2022_09_12_132727_create_state_history_table.php @@ -0,0 +1,35 @@ +increments('id'); + $table->string('transition'); + $table->string('from'); + $table->string('to'); + $table->integer('actor_id')->nullable(); + $table->morphs('statable'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('state_history'); + } +} diff --git a/database/migrations/2022_11_29_082630_create_blog_posts_table.php b/database/migrations/2022_11_29_082630_create_blog_posts_table.php new file mode 100644 index 0000000..9c1de50 --- /dev/null +++ b/database/migrations/2022_11_29_082630_create_blog_posts_table.php @@ -0,0 +1,35 @@ +id(); + $table->string('state')->default('archived')->comment('active/archived'); + $table->string('image')->default('')->comment('public path to image'); + $table->text('description'); + $table->string('youtube_url')->default(''); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('blog_posts'); + } +}; diff --git a/database/migrations/2022_11_29_082657_create_recipes_table.php b/database/migrations/2022_11_29_082657_create_recipes_table.php new file mode 100644 index 0000000..5cb7ab9 --- /dev/null +++ b/database/migrations/2022_11_29_082657_create_recipes_table.php @@ -0,0 +1,38 @@ +id(); + $table->string('image')->default('')->comment('public path to image'); + $table->string('state')->comment('active/archived'); + $table->integer('cooking_time')->default(0); + $table->json('ingredients'); + $table->text('description'); + $table->json('steps'); + $table->string('youtube_url')->default(''); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('recipes'); + } +}; diff --git a/database/migrations/2022_11_29_090908_create_tags_table.php b/database/migrations/2022_11_29_090908_create_tags_table.php new file mode 100644 index 0000000..e9a3032 --- /dev/null +++ b/database/migrations/2022_11_29_090908_create_tags_table.php @@ -0,0 +1,32 @@ +id(); + $table->string('name'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('tags'); + } +}; diff --git a/database/migrations/2022_12_01_094513_create_taggables_table.php b/database/migrations/2022_12_01_094513_create_taggables_table.php new file mode 100644 index 0000000..053ec3e --- /dev/null +++ b/database/migrations/2022_12_01_094513_create_taggables_table.php @@ -0,0 +1,32 @@ +id(); + $table->integer('tag_id'); + $table->morphs('taggable'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('taggables'); + } +}; diff --git a/database/migrations/2022_12_01_120945_blog_post_author.php b/database/migrations/2022_12_01_120945_blog_post_author.php new file mode 100644 index 0000000..f760fdd --- /dev/null +++ b/database/migrations/2022_12_01_120945_blog_post_author.php @@ -0,0 +1,31 @@ +bigInteger('user_id'); + $table->bigInteger('blog_post_id'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('blog_post_author'); + } +}; diff --git a/database/migrations/2022_12_01_121006_recipe_author.php b/database/migrations/2022_12_01_121006_recipe_author.php new file mode 100644 index 0000000..46bc1bc --- /dev/null +++ b/database/migrations/2022_12_01_121006_recipe_author.php @@ -0,0 +1,31 @@ +bigInteger('user_id'); + $table->bigInteger('recipe_id'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('recipe_author'); + } +}; diff --git a/database/migrations/2022_12_06_123439_create_blog_post_comments_table.php b/database/migrations/2022_12_06_123439_create_blog_post_comments_table.php new file mode 100644 index 0000000..1604d1c --- /dev/null +++ b/database/migrations/2022_12_06_123439_create_blog_post_comments_table.php @@ -0,0 +1,35 @@ +id(); + $table->bigInteger('user_id'); + $table->bigInteger('blog_post_id'); + $table->smallInteger('grade')->default(0); + $table->longText('body')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('blog_post_comments'); + } +}; diff --git a/database/migrations/2022_12_06_123459_create_blog_post_likes_table.php b/database/migrations/2022_12_06_123459_create_blog_post_likes_table.php new file mode 100644 index 0000000..7965525 --- /dev/null +++ b/database/migrations/2022_12_06_123459_create_blog_post_likes_table.php @@ -0,0 +1,33 @@ +id(); + $table->foreignId('blog_post_id'); + $table->foreignId('user_id'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('blog_post_likes'); + } +}; diff --git a/database/migrations/2022_12_06_123516_create_blog_post_comment_upvotes_table.php b/database/migrations/2022_12_06_123516_create_blog_post_comment_upvotes_table.php new file mode 100644 index 0000000..85ef5a1 --- /dev/null +++ b/database/migrations/2022_12_06_123516_create_blog_post_comment_upvotes_table.php @@ -0,0 +1,34 @@ +id(); + $table->foreignId('blog_post_comment_id'); + $table->foreignId('user_id'); + $table->string('type')->default('upvote'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('blog_post_comment_upvotes'); + } +}; diff --git a/database/migrations/2022_12_06_124917_create_recipe_comments_table.php b/database/migrations/2022_12_06_124917_create_recipe_comments_table.php new file mode 100644 index 0000000..fac1513 --- /dev/null +++ b/database/migrations/2022_12_06_124917_create_recipe_comments_table.php @@ -0,0 +1,35 @@ +id(); + $table->bigInteger('user_id'); + $table->bigInteger('recipe_id'); + $table->smallInteger('grade')->default(0); + $table->longText('body')->nullable(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('recipe_comments'); + } +}; diff --git a/database/migrations/2022_12_06_124931_create_recipe_likes_table.php b/database/migrations/2022_12_06_124931_create_recipe_likes_table.php new file mode 100644 index 0000000..3ab1466 --- /dev/null +++ b/database/migrations/2022_12_06_124931_create_recipe_likes_table.php @@ -0,0 +1,33 @@ +id(); + $table->foreignId('recipe_id'); + $table->foreignId('user_id'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('recipe_likes'); + } +}; diff --git a/database/migrations/2022_12_06_124940_create_recipe_comment_upvotes_table.php b/database/migrations/2022_12_06_124940_create_recipe_comment_upvotes_table.php new file mode 100644 index 0000000..d08c804 --- /dev/null +++ b/database/migrations/2022_12_06_124940_create_recipe_comment_upvotes_table.php @@ -0,0 +1,34 @@ +id(); + $table->foreignId('recipe_comment_id'); + $table->foreignId('user_id'); + $table->string('type')->default('upvote'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('recipe_comment_upvotes'); + } +}; diff --git a/database/migrations/2022_12_07_101359_add_title_to_blog_posts_table.php b/database/migrations/2022_12_07_101359_add_title_to_blog_posts_table.php new file mode 100644 index 0000000..409dddf --- /dev/null +++ b/database/migrations/2022_12_07_101359_add_title_to_blog_posts_table.php @@ -0,0 +1,32 @@ +string('title', 512)->default(''); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('blog_posts', function (Blueprint $table) { + $table->dropColumn('title'); + }); + } +}; diff --git a/database/migrations/2022_12_07_101435_add_title_to_recipes_table.php b/database/migrations/2022_12_07_101435_add_title_to_recipes_table.php new file mode 100644 index 0000000..7e5cb46 --- /dev/null +++ b/database/migrations/2022_12_07_101435_add_title_to_recipes_table.php @@ -0,0 +1,32 @@ +string('title', 512)->default(''); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('recipes', function (Blueprint $table) { + $table->dropColumn('title'); + }); + } +}; diff --git a/database/migrations/2023_01_13_092119_rename_recipe_youtube_url_to_video_url.php b/database/migrations/2023_01_13_092119_rename_recipe_youtube_url_to_video_url.php new file mode 100644 index 0000000..8d615bc --- /dev/null +++ b/database/migrations/2023_01_13_092119_rename_recipe_youtube_url_to_video_url.php @@ -0,0 +1,32 @@ +renameColumn('youtube_url', 'video_url'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('recipes', function (Blueprint $table) { + $table->renameColumn('video_url', 'youtube_url'); + }); + } +}; diff --git a/database/migrations/2023_01_25_073135_add_recipe_type_column.php b/database/migrations/2023_01_25_073135_add_recipe_type_column.php new file mode 100644 index 0000000..9f1bb65 --- /dev/null +++ b/database/migrations/2023_01_25_073135_add_recipe_type_column.php @@ -0,0 +1,32 @@ +string('type', 512)->default('unknown'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('recipes', function (Blueprint $table) { + $table->dropColumn('type'); + }); + } +}; diff --git a/database/migrations/2023_02_16_123259_create_chats_table.php b/database/migrations/2023_02_16_123259_create_chats_table.php new file mode 100644 index 0000000..092391c --- /dev/null +++ b/database/migrations/2023_02_16_123259_create_chats_table.php @@ -0,0 +1,34 @@ +id(); + $table->foreignId('from_user_id'); + $table->foreignId('to_user_id'); + $table->text('data'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('chats'); + } +}; diff --git a/database/migrations/2023_07_26_145818_create_product_groups_table.php b/database/migrations/2023_07_26_145818_create_product_groups_table.php new file mode 100644 index 0000000..eda63e4 --- /dev/null +++ b/database/migrations/2023_07_26_145818_create_product_groups_table.php @@ -0,0 +1,33 @@ +id(); + $table->string('name'); + $table->string('description')->nullable('')->default(''); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('product_groups'); + } +}; diff --git a/database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php b/database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php new file mode 100644 index 0000000..0a4e630 --- /dev/null +++ b/database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php @@ -0,0 +1,45 @@ +id(); + $table->string('name')->unique(); + $table->string('image')->nullable()->default(''); + $table->foreignId('product_group_id'); + $table->string('description', 4096); + $table->string('formulations', 4096); + $table->integer('energy_on_100gr'); + $table->float('proteins_on_100gr', 8, 2); + $table->float('fats_on_100gr', 8, 2); + $table->float('carbohydrates_on_100gr', 8, 2); + $table->integer('portion_mass_gr')->nullable(0); + $table->float('energy_on_portion', 8, 2)->nullable(0); + $table->float('proteins_on_portion', 8, 2)->nullable(0); + $table->float('fats_on_portion', 8, 2)->nullable(0); + $table->float('carbohydrates_on_portion', 8, 2)->nullable(0); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('product_nutritional_values'); + } +}; diff --git a/database/migrations/2023_08_23_174247_create_finances_table.php b/database/migrations/2023_08_23_174247_create_finances_table.php new file mode 100644 index 0000000..d611fd7 --- /dev/null +++ b/database/migrations/2023_08_23_174247_create_finances_table.php @@ -0,0 +1,31 @@ +id(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('finances'); + } +}; diff --git a/database/migrations/2023_08_30_135320_add_height_column_to_user_detailzs.php b/database/migrations/2023_08_30_135320_add_height_column_to_user_detailzs.php new file mode 100644 index 0000000..4e66ce2 --- /dev/null +++ b/database/migrations/2023_08_30_135320_add_height_column_to_user_detailzs.php @@ -0,0 +1,28 @@ +integer('height')->comment('user height in centimeters')->default(170)->after('weight'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('user_detailzs', function (Blueprint $table) { + $table->dropColumn('height'); + }); + } +}; diff --git a/database/migrations/2023_09_01_113622_add_fillable_to_table_user_detailz.php b/database/migrations/2023_09_01_113622_add_fillable_to_table_user_detailz.php new file mode 100644 index 0000000..d2baebe --- /dev/null +++ b/database/migrations/2023_09_01_113622_add_fillable_to_table_user_detailz.php @@ -0,0 +1,30 @@ +boolean('is_mood_fillable'); + $table->boolean('is_bedtime_fillable'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('user_detailzs', function (Blueprint $table) { + $table->dropColumn('is_mood_fillable'); + $table->dropColumn('is_bedtime_fillable'); + }); + } +}; diff --git a/database/migrations/2023_09_01_152657_add_is_public_to_users.php b/database/migrations/2023_09_01_152657_add_is_public_to_users.php new file mode 100644 index 0000000..73bec70 --- /dev/null +++ b/database/migrations/2023_09_01_152657_add_is_public_to_users.php @@ -0,0 +1,28 @@ +boolean('is_public_profile')->default(1)->comment('0 only friends, 1 all'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('users', function (Blueprint $table) { + $table->dropColumn('is_public_profile'); + }); + } +}; diff --git a/database/migrations/2023_09_14_145239_create_consultant_legal_entities_table.php b/database/migrations/2023_09_14_145239_create_consultant_legal_entities_table.php new file mode 100644 index 0000000..bdc09d7 --- /dev/null +++ b/database/migrations/2023_09_14_145239_create_consultant_legal_entities_table.php @@ -0,0 +1,46 @@ +id(); + $table->foreignId('user_id')->constrained( + table: 'users', + indexName: 'consultant_legal_entities_user_id' + ); + $table->string('type')->default('selfemployed')->comment('ip|selfemployed|ltd'); + $table->string('inn')->default('')->comment('ИНН'); + $table->string('egrip')->default('')->comment('Номер записи в ЕГРИП для ИП'); + $table->string('ltd_name', 2048)->default('')->comment('Название OOO'); + $table->string('ltd_kpp')->default('')->comment('КПП ООО'); + $table->string('ltd_ogrn')->default('')->comment('ОГРН ООО'); + $table->string('ltd_legal_address', 2048)->default('')->comment('Юридический адрес ООО'); + $table->string('ltd_poste_address', 2048)->default('')->comment('Почтовый адрес ООО'); + $table->string('ltd_okved')->default('')->comment('ОКВЭД ООО'); + $table->string('ltd_ceo_name', 2048)->default('')->comment('ФИО Генерального директора ООО'); + $table->string('bank_account')->default('')->comment('Рассчетный счет'); + $table->string('bank_correspondent_account')->default('')->comment('корреспондентский счет'); + $table->string('bank_bik')->default('')->comment('БИК'); + $table->string('bank_name', 2048)->default('')->comment('Название Банка'); + $table->string('state')->default('published')->comment('published|appruved|cenceled'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('consultant_legal_entities'); + } +}; diff --git a/database/migrations/2023_12_20_105039_add_slug_to_plan.php b/database/migrations/2023_12_20_105039_add_slug_to_plan.php new file mode 100644 index 0000000..5c48db4 --- /dev/null +++ b/database/migrations/2023_12_20_105039_add_slug_to_plan.php @@ -0,0 +1,28 @@ +string('slug'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('plans', function (Blueprint $table) { + $table->dropColumn('slug'); + }); + } +}; diff --git a/database/seeders/BlogPostSeeder.php b/database/seeders/BlogPostSeeder.php new file mode 100644 index 0000000..a5e4c02 --- /dev/null +++ b/database/seeders/BlogPostSeeder.php @@ -0,0 +1,18 @@ +call(PlanSeeder::class); + $this->call(UserSeeder::class); + $this->call(PlanAuthor::class); + $this->call(PlanCommentSeeder::class); + // $this->call(RecipeSeeder::class); + // \App\Models\User::factory(10)->create(); + } +} diff --git a/database/seeders/DietsSeeder.php b/database/seeders/DietsSeeder.php new file mode 100644 index 0000000..c9d4c4e --- /dev/null +++ b/database/seeders/DietsSeeder.php @@ -0,0 +1,23 @@ +count(10)->create(); + + $diets->each( + fn ($diet) => $diet->author()->attach(User::inRandomOrder()->first()) + ); + } +} diff --git a/database/seeders/PlanAuthor.php b/database/seeders/PlanAuthor.php new file mode 100644 index 0000000..1476c61 --- /dev/null +++ b/database/seeders/PlanAuthor.php @@ -0,0 +1,25 @@ + 0 && Plan::count() > 0) { + Plan::each(function ($plan) { + User::inRandomOrder() + ->first() + ->author_of_plans() + ->attach($plan->id); + }); + } + } +} diff --git a/database/seeders/PlanCommentSeeder.php b/database/seeders/PlanCommentSeeder.php new file mode 100755 index 0000000..77036ac --- /dev/null +++ b/database/seeders/PlanCommentSeeder.php @@ -0,0 +1,37 @@ + 0 && Plan::count() > 0) { + $comments = PlanComment::factory()->count(5)->make(); + + $comments->each(function ($comment) { + $comment->author()->associate( + User::inRandomOrder() + ->first() + ->id + ); + + $comment->plan()->associate( + Plan::inRandomOrder() + ->first() + ->id + ); + + $comment->saveOrFail(); + }); + } + } +} diff --git a/database/seeders/PlanSeeder.php b/database/seeders/PlanSeeder.php new file mode 100755 index 0000000..5890103 --- /dev/null +++ b/database/seeders/PlanSeeder.php @@ -0,0 +1,17 @@ +count(10)->create(); + } +} diff --git a/database/seeders/UserSeeder.php b/database/seeders/UserSeeder.php new file mode 100644 index 0000000..2547948 --- /dev/null +++ b/database/seeders/UserSeeder.php @@ -0,0 +1,59 @@ +create(); + + $userDetailz = UserDetailz::factory()->make(); + + $userDetailz->user()->associate($user); + + $userDetailz->saveOrFail(); + + }, $this->getListUsers()); + } + + private function getListUsers(): array + { + $allUsersHash = Hash::make('1234567890'); + + return [ + ['id' => 3, 'name' => 'Анчоус Альф', 'email' => 'reshetnick.mike+user1@gmail.com', 'password' => $allUsersHash, 'is_consultant' => true], + ['id' => 4, 'name' => 'Чена Сибаину', 'email' => 'reshetnik.n+user1@gmail.com', 'password' => $allUsersHash, 'is_consultant' => true], + ['id' => 5, 'name' => 'Бруно Бармалей', 'email' => 'reshetnick.mike+user2@gmail.com', 'password' => $allUsersHash, 'is_consultant' => true], + ['id' => 6, 'name' => 'Варенник Васаби', 'email' => 'reshetnick.mike+user3@gmail.com', 'password' => $allUsersHash, 'is_consultant' => true], + ['id' => 7, 'name' => 'Денди Дуглас', 'email' => 'reshetnick.mike+user4@gmail.com', 'password' => $allUsersHash, 'is_consultant' => true], + ['id' => 8, 'name' => 'Ник Радченков', 'email' => 'reshetnik.n+user2@gmail.com', 'password' => $allUsersHash], + ['id' => 9, 'name' => 'Миса Кошка', 'email' => 'reshetnik.n+user3@gmail.com', 'password' => $allUsersHash], + + ['id' => 10, 'name' => 'Ерошка Есаул', 'email' => 'reshetnick.mike+user5@gmail.com', 'password' => $allUsersHash], + ['id' => 11, 'name' => 'Жмурка Живчик', 'email' => 'reshetnick.mike+user6@gmail.com', 'password' => $allUsersHash], + ['id' => 12, 'name' => 'Гошка Картошка', 'email' => 'reshetnik.n+user4@gmail.com', 'password' => $allUsersHash], + ['id' => 13, 'name' => 'Зефир Забияка', 'email' => 'reshetnick.mike+user7@gmail.com', 'password' => $allUsersHash], + ['id' => 14, 'name' => 'Антоша Одуван', 'email' => 'reshetnik.n+user5@gmail.com', 'password' => $allUsersHash], + ['id' => 15, 'name' => 'Кусик Кукусик', 'email' => 'reshetnik.n+user6@gmail.com', 'password' => $allUsersHash], + ['id' => 16, 'name' => 'Косик Кокосик', 'email' => 'reshetnik.n+user7@gmail.com', 'password' => $allUsersHash], + + ['id' => 17, 'name' => 'Хинкалька Вкусная', 'email' => 'reshetnik.n+user8@gmail.com', 'password' => $allUsersHash], + ['id' => 18, 'name' => 'Импульс Йети', 'email' => 'reshetnick.mike+user8@gmail.com', 'password' => $allUsersHash], + ['id' => 19, 'name' => 'Квики Кекс', 'email' => 'reshetnick.mike+user9@gmail.com', 'password' => $allUsersHash], + ['id' => 20, 'name' => 'Чебурек Сочный', 'email' => 'reshetnik.n+user9@gmail.com', 'password' => $allUsersHash], + ['id' => 21, 'name' => 'Клубника Дикая', 'email' => 'reshetnik.n+user10@gmail.com', 'password' => $allUsersHash], + ['id' => 22, 'name' => 'Ляпис Лапша', 'email' => 'reshetnick.mike+user10@gmail.com', 'password' => $allUsersHash], + ['id' => 23, 'name' => 'Друг Парадоксов', 'email' => 'reshetnick.mike+user11@gmail.com', 'password' => $allUsersHash], + ]; + } +} From 15f4d0a2f4a37b916261e3977fcfc3b201f75982 Mon Sep 17 00:00:00 2001 From: Anatoliy Poloz Date: Mon, 22 Jan 2024 11:50:36 +0300 Subject: [PATCH 4/7] ci + insights added --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 5905ba0..0298109 100644 --- a/Makefile +++ b/Makefile @@ -74,11 +74,16 @@ test: fix-insights: docker-compose exec php-fpm ./artisan insights --fix +insights: + docker-compose exec php-fpm vendor/bin/phpinsights --config-path=./config/insights.php --no-interaction --min-quality=80 --min-complexity=90 --min-architecture=75 --min-style=95 + rector: docker-compose exec php-fpm vendor/bin/rector process --dry-run static-analysis: docker-compose exec php-fpm composer static-analysis +ci: test rector insights static-analysis + init: clone copy-infra-env restart setup-laravel-packages copy-laravel-env setup-laravel-key run-migrations node-frontend-deps build-frontend-prod fix-permissions make-storage-link From 1755916744d98569c78fbbad0abf586e6fe48dec Mon Sep 17 00:00:00 2001 From: Anatoliy Poloz Date: Mon, 22 Jan 2024 11:51:48 +0300 Subject: [PATCH 5/7] trash removed --- analize.log | 956 ---------------------------------------------------- 1 file changed, 956 deletions(-) delete mode 100644 analize.log diff --git a/analize.log b/analize.log deleted file mode 100644 index 75bc305..0000000 --- a/analize.log +++ /dev/null @@ -1,956 +0,0 @@ -docker-compose exec php-fpm composer static-analysis -> phpstan analyse --ansi --memory-limit 512M --error-format=github -Note: Using configuration file /application/phpstan.neon.dist. - 0/291 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0% 291/291 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% - -::error file=app/Actions/Fortify/UpdateUserProfileInformation.php,line=27,col=0::Parameter #1 $photo of method App\Models\User::updateProfilePhoto() expects Illuminate\Http\UploadedFile, string given. -::error file=app/Console/Commands/UpdateSlugs.php,line=27,col=0::Method App\Console\Commands\UpdateSlugs::handle() has no return type specified. -::error file=app/Console/Commands/UpdateSlugs.php,line=34,col=0::Call to static method replaceLast() on an unknown class App\Console\Commands\Str. -::error file=app/Events/ChatMessageUpdated.php,line=15,col=0::Property App\Events\ChatMessageUpdated::$message has no type specified. -::error file=app/Events/DietSelected.php,line=15,col=0::Property App\Events\DietSelected::$diet has no type specified. -::error file=app/Events/DietSelected.php,line=17,col=0::Property App\Events\DietSelected::$user has no type specified. -::error file=app/Http/Controllers/BlogPostController.php,line=48,col=0::Method App\Http\Controllers\BlogPostController::show() should return Illuminate\View\View but return statement is missing. -::error file=app/Http/Controllers/CalendarController.php,line=16,col=0::Property App\Http\Controllers\CalendarController::$weekStartsAt has no type specified. -::error file=app/Http/Controllers/CalendarController.php,line=18,col=0::Property App\Http\Controllers\CalendarController::$weekEndsAt has no type specified. -::error file=app/Http/Controllers/CalendarController.php,line=20,col=0::Property App\Http\Controllers\CalendarController::$startsAt has no type specified. -::error file=app/Http/Controllers/CalendarController.php,line=22,col=0::Property App\Http\Controllers\CalendarController::$endsAt has no type specified. -::error file=app/Http/Controllers/CalendarController.php,line=24,col=0::Property App\Http\Controllers\CalendarController::$gridStartsAt has no type specified. -::error file=app/Http/Controllers/CalendarController.php,line=26,col=0::Property App\Http\Controllers\CalendarController::$gridEndsAt has no type specified. -::error file=app/Http/Controllers/CalendarController.php,line=28,col=0::Method App\Http\Controllers\CalendarController::__construct() has parameter $initialMonth with no type specified. -::error file=app/Http/Controllers/CalendarController.php,line=28,col=0::Method App\Http\Controllers\CalendarController::__construct() has parameter $initialYear with no type specified. -::error file=app/Http/Controllers/CalendarController.php,line=28,col=0::Method App\Http\Controllers\CalendarController::__construct() has parameter $weekStartsAt with no type specified. -::error file=app/Http/Controllers/CalendarController.php,line=43,col=0::Method App\Http\Controllers\CalendarController::calculateGridStartsEnds() has no return type specified. -::error file=app/Http/Controllers/CalendarController.php,line=58,col=0::Parameter #2 $operator of method Illuminate\Database\Eloquent\Builder::whereMonth() expects string, int given. -::error file=app/Http/Controllers/ChatController.php,line=13,col=0::Property App\Http\Controllers\ChatMessage::$id has no type specified. -::error file=app/Http/Controllers/ChatController.php,line=15,col=0::Property App\Http\Controllers\ChatMessage::$payload has no type specified. -::error file=app/Http/Controllers/ChatController.php,line=17,col=0::Method App\Http\Controllers\ChatMessage::__construct() has parameter $id with no type specified. -::error file=app/Http/Controllers/ChatController.php,line=17,col=0::Method App\Http\Controllers\ChatMessage::__construct() has parameter $payload with no type specified. -::error file=app/Http/Controllers/ChatController.php,line=23,col=0::Method App\Http\Controllers\ChatMessage::someRandomFillFunction() has no return type specified. -::error file=app/Http/Controllers/ChatController.php,line=25,col=0::Called 'pluck' on Laravel collection, but could have been retrieved as a query. -::error file=app/Http/Controllers/ChatController.php,line=26,col=0::Called 'pluck' on Laravel collection, but could have been retrieved as a query. -::error file=app/Http/Controllers/ChatController.php,line=27,col=0::Call to static method create() on an unknown class App\Http\Controllers\Faker\Factory. -::error file=app/Http/Controllers/ChatController.php,line=102,col=0::Method App\Http\Controllers\ChatController::create() should return Illuminate\Http\Response but return statement is missing. -::error file=app/Http/Controllers/ChatController.php,line=102,col=0::Parameter #1 $message of event class App\Events\ChatMessageUpdated constructor expects array in App\Events\ChatMessageUpdated::dispatch(), App\Http\Controllers\ChatMessage given. -::error file=app/Http/Controllers/ChatController.php,line=102,col=0::Parameter #1 $string of function md5 expects string, int<1, max> given. -::error file=app/Http/Controllers/ChatController.php,line=133,col=0::Method App\Http\Controllers\ChatController::makeChanName() has no return type specified. -::error file=app/Http/Controllers/ChatController.php,line=133,col=0::Method App\Http\Controllers\ChatController::makeChanName() has parameter $from with no type specified. -::error file=app/Http/Controllers/ChatController.php,line=133,col=0::Method App\Http\Controllers\ChatController::makeChanName() has parameter $to with no type specified. -::error file=app/Http/Controllers/ConsultantRequestFormController.php,line=20,col=0::Access to an undefined property App\Models\User::$consultant_state. -::error file=app/Http/Controllers/ConsultantRequestFormController.php,line=22,col=0::Method App\Http\Controllers\ConsultantRequestFormController::create() should return Illuminate\View\View but returns Illuminate\Http\RedirectResponse. -::error file=app/Http/Controllers/ConsultantRequestFormController.php,line=44,col=0::Access to an undefined property App\Models\User::$consultant_state. -::error file=app/Http/Controllers/ConsultantRequestFormController.php,line=56,col=0::Access to an undefined property App\Models\User::$consultant_state. -::error file=app/Http/Controllers/DiaryController.php,line=23,col=0::Method App\Http\Controllers\DiaryController::index() should return Illuminate\Http\Response but returns Illuminate\Http\RedirectResponse. -::error file=app/Http/Controllers/DiaryController.php,line=39,col=0::Method App\Http\Controllers\DiaryController::edit() has parameter $id with no type specified. -::error file=app/Http/Controllers/DiaryController.php,line=71,col=0::Method App\Http\Controllers\DiaryController::update() should return Illuminate\Http\Response but returns Illuminate\Http\RedirectResponse. -::error file=app/Http/Controllers/FinanceController.php,line=15,col=0::Method App\Http\Controllers\FinanceController::index() should return Illuminate\Http\Response but return statement is missing. -::error file=app/Http/Controllers/FinanceController.php,line=24,col=0::Method App\Http\Controllers\FinanceController::create() should return Illuminate\Http\Response but return statement is missing. -::error file=app/Http/Controllers/FinanceController.php,line=33,col=0::Method App\Http\Controllers\FinanceController::store() should return Illuminate\Http\Response but return statement is missing. -::error file=app/Http/Controllers/FinanceController.php,line=42,col=0::Method App\Http\Controllers\FinanceController::show() should return Illuminate\Http\Response but return statement is missing. -::error file=app/Http/Controllers/FinanceController.php,line=51,col=0::Method App\Http\Controllers\FinanceController::edit() should return Illuminate\Http\Response but return statement is missing. -::error file=app/Http/Controllers/FinanceController.php,line=60,col=0::Method App\Http\Controllers\FinanceController::update() should return Illuminate\Http\Response but return statement is missing. -::error file=app/Http/Controllers/FinanceController.php,line=69,col=0::Method App\Http\Controllers\FinanceController::destroy() should return Illuminate\Http\Response but return statement is missing. -::error file=app/Http/Controllers/RegistrationStartController.php,line=7,col=0::Method App\Http\Controllers\RegistrationStartController::start() has no return type specified. -::error file=app/Http/Controllers/UserController.php,line=16,col=0::Method App\Http\Controllers\UserController::index() should return Illuminate\Http\Response but return statement is missing. -::error file=app/Http/Controllers/UserController.php,line=25,col=0::Method App\Http\Controllers\UserController::create() should return Illuminate\Http\Response but return statement is missing. -::error file=app/Http/Controllers/UserController.php,line=34,col=0::Method App\Http\Controllers\UserController::store() should return Illuminate\Http\Response but return statement is missing. -::error file=app/Http/Controllers/UserController.php,line=45,col=0::Method App\Http\Controllers\UserController::show() should return Illuminate\Http\Response but return statement is missing. -::error file=app/Http/Controllers/UserController.php,line=53,col=0::Method App\Http\Controllers\UserController::edit() should return Illuminate\Http\Response but return statement is missing. -::error file=app/Http/Controllers/UserController.php,line=62,col=0::Method App\Http\Controllers\UserController::update() should return Illuminate\Http\Response but return statement is missing. -::error file=app/Http/Controllers/UserController.php,line=71,col=0::Method App\Http\Controllers\UserController::destroy() should return Illuminate\Http\Response but return statement is missing. -::error file=app/Http/Controllers/UserDetailzController.php,line=40,col=0::Access to an undefined property App\Models\UserDetailz::$user. -::error file=app/Http/Controllers/UserDetailzController.php,line=46,col=0::Access to an undefined property App\Models\UserDetailz::$user. -::error file=app/Http/Controllers/UserDetailzController.php,line=105,col=0::Access to an undefined property App\Models\UserDetailz::$user. -::error file=app/Http/Controllers/UserDetailzController.php,line=111,col=0::Access to an undefined property App\Models\UserDetailz::$user. -::error file=app/Listeners/ProcessDietSelectedNotification.php,line=15,col=0::Property App\Listeners\ProcessDietSelectedNotification::$afterCommit has no type specified. -::error file=app/Livewire/BlogPost/Comment/Create.php,line=16,col=0::Property App\Livewire\BlogPost\Comment\Create::$body has no type specified. -::error file=app/Livewire/BlogPost/Comment/Create.php,line=18,col=0::Property App\Livewire\BlogPost\Comment\Create::$grade has no type specified. -::error file=app/Livewire/BlogPost/Comment/Create.php,line=20,col=0::Method App\Livewire\BlogPost\Comment\Create::render() has no return type specified. -::error file=app/Livewire/BlogPost/Comment/Create.php,line=25,col=0::Method App\Livewire\BlogPost\Comment\Create::save() has no return type specified. -::error file=app/Livewire/BlogPost/Comment/Show.php,line=12,col=0::Property App\Livewire\BlogPost\Comment\Show::$listeners has no type specified. -::error file=app/Livewire/BlogPost/Comment/Show.php,line=14,col=0::Method App\Livewire\BlogPost\Comment\Show::render() has no return type specified. -::error file=app/Livewire/BlogPost/Comment/Upvote.php,line=12,col=0::Method App\Livewire\BlogPost\Comment\Upvote::mount() has no return type specified. -::error file=app/Livewire/BlogPost/Comment/Upvote.php,line=17,col=0::Method App\Livewire\BlogPost\Comment\Upvote::render() has no return type specified. -::error file=app/Livewire/BlogPost/Comment/Upvote.php,line=33,col=0::Method App\Livewire\BlogPost\Comment\Upvote::upvote() has no return type specified. -::error file=app/Livewire/BlogPost/Comment/Upvote.php,line=52,col=0::Method App\Livewire\BlogPost\Comment\Upvote::downvote() has no return type specified. -::error file=app/Livewire/BlogPost/Create.php,line=15,col=0::Property App\Livewire\BlogPost\Create::$image has no type specified. -::error file=app/Livewire/BlogPost/Create.php,line=17,col=0::Property App\Livewire\BlogPost\Create::$state has no type specified. -::error file=app/Livewire/BlogPost/Create.php,line=19,col=0::Property App\Livewire\BlogPost\Create::$title has no type specified. -::error file=app/Livewire/BlogPost/Create.php,line=21,col=0::Property App\Livewire\BlogPost\Create::$description has no type specified. -::error file=app/Livewire/BlogPost/Create.php,line=23,col=0::Property App\Livewire\BlogPost\Create::$tags has no type specified. -::error file=app/Livewire/BlogPost/Create.php,line=25,col=0::Property App\Livewire\BlogPost\Create::$videoUrl has no type specified. -::error file=app/Livewire/BlogPost/Create.php,line=27,col=0::Property App\Livewire\BlogPost\Create::$listeners has no type specified. -::error file=app/Livewire/BlogPost/Create.php,line=29,col=0::Method App\Livewire\BlogPost\Create::render() has no return type specified. -::error file=app/Livewire/BlogPost/Create.php,line=34,col=0::Method App\Livewire\BlogPost\Create::parentComponentTagAdded() has no return type specified. -::error file=app/Livewire/BlogPost/Create.php,line=40,col=0::Method App\Livewire\BlogPost\Create::parentComponentTagRemoved() has no return type specified. -::error file=app/Livewire/BlogPost/Create.php,line=40,col=0::Method App\Livewire\BlogPost\Create::parentComponentTagRemoved() has parameter $tag with no type specified. -::error file=app/Livewire/BlogPost/Create.php,line=47,col=0::Method App\Livewire\BlogPost\Create::draft() has no return type specified. -::error file=app/Livewire/BlogPost/Create.php,line=53,col=0::Method App\Livewire\BlogPost\Create::preview() has no return type specified. -::error file=app/Livewire/BlogPost/Create.php,line=59,col=0::Method App\Livewire\BlogPost\Create::publish() has no return type specified. -::error file=app/Livewire/BlogPost/Create.php,line=80,col=0::Method App\Livewire\BlogPost\Create::rules() has no return type specified. -::error file=app/Livewire/BlogPost/Edit.php,line=17,col=0::Property App\Livewire\BlogPost\Edit::$image has no type specified. -::error file=app/Livewire/BlogPost/Edit.php,line=19,col=0::Property App\Livewire\BlogPost\Edit::$state has no type specified. -::error file=app/Livewire/BlogPost/Edit.php,line=21,col=0::Property App\Livewire\BlogPost\Edit::$title has no type specified. -::error file=app/Livewire/BlogPost/Edit.php,line=23,col=0::Property App\Livewire\BlogPost\Edit::$description has no type specified. -::error file=app/Livewire/BlogPost/Edit.php,line=25,col=0::Property App\Livewire\BlogPost\Edit::$tags has no type specified. -::error file=app/Livewire/BlogPost/Edit.php,line=27,col=0::Property App\Livewire\BlogPost\Edit::$videoUrl has no type specified. -::error file=app/Livewire/BlogPost/Edit.php,line=29,col=0::Property App\Livewire\BlogPost\Edit::$listeners has no type specified. -::error file=app/Livewire/BlogPost/Edit.php,line=31,col=0::Method App\Livewire\BlogPost\Edit::mount() has no return type specified. -::error file=app/Livewire/BlogPost/Edit.php,line=33,col=0::Access to an undefined property App\Livewire\BlogPost\Edit::$name. -::error file=app/Livewire/BlogPost/Edit.php,line=33,col=0::Access to an undefined property App\Models\BlogPost::$name. -::error file=app/Livewire/BlogPost/Edit.php,line=38,col=0::Access to an undefined property App\Models\BlogPost::$tags. -::error file=app/Livewire/BlogPost/Edit.php,line=42,col=0::Method App\Livewire\BlogPost\Edit::parentComponentTagAdded() has no return type specified. -::error file=app/Livewire/BlogPost/Edit.php,line=48,col=0::Method App\Livewire\BlogPost\Edit::parentComponentTagRemoved() has no return type specified. -::error file=app/Livewire/BlogPost/Edit.php,line=48,col=0::Method App\Livewire\BlogPost\Edit::parentComponentTagRemoved() has parameter $tag with no type specified. -::error file=app/Livewire/BlogPost/Edit.php,line=58,col=0::Method App\Livewire\BlogPost\Edit::draft() has no return type specified. -::error file=app/Livewire/BlogPost/Edit.php,line=64,col=0::Method App\Livewire\BlogPost\Edit::preview() has no return type specified. -::error file=app/Livewire/BlogPost/Edit.php,line=70,col=0::Method App\Livewire\BlogPost\Edit::publish() has no return type specified. -::error file=app/Livewire/BlogPost/Edit.php,line=94,col=0::Method App\Livewire\BlogPost\Edit::render() has no return type specified. -::error file=app/Livewire/BlogPost/Edit.php,line=99,col=0::Method App\Livewire\BlogPost\Edit::rules() has no return type specified. -::error file=app/Livewire/BlogPost/Like.php,line=12,col=0::Property App\Livewire\BlogPost\Like::$isIconOnly has no type specified. -::error file=app/Livewire/BlogPost/Like.php,line=14,col=0::Method App\Livewire\BlogPost\Like::mount() has no return type specified. -::error file=app/Livewire/BlogPost/Like.php,line=19,col=0::Method App\Livewire\BlogPost\Like::render() has no return type specified. -::error file=app/Livewire/BlogPost/LikeCount.php,line=12,col=0::Property App\Livewire\BlogPost\LikeCount::$listeners has no type specified. -::error file=app/Livewire/BlogPost/LikeCount.php,line=14,col=0::Method App\Livewire\BlogPost\LikeCount::mount() has no return type specified. -::error file=app/Livewire/BlogPost/LikeCount.php,line=19,col=0::Method App\Livewire\BlogPost\LikeCount::render() has no return type specified. -::error file=app/Livewire/BlogPost/ListView.php,line=16,col=0::Property App\Livewire\BlogPost\ListView::$search has no type specified. -::error file=app/Livewire/BlogPost/ListView.php,line=18,col=0::Property App\Livewire\BlogPost\ListView::$typeFilter has no type specified. -::error file=app/Livewire/BlogPost/ListView.php,line=20,col=0::Property App\Livewire\BlogPost\ListView::$tag has no type specified. -::error file=app/Livewire/BlogPost/ListView.php,line=22,col=0::Property App\Livewire\BlogPost\ListView::$author has no type specified. -::error file=app/Livewire/BlogPost/ListView.php,line=24,col=0::Property App\Livewire\BlogPost\ListView::$queryString has no type specified. -::error file=app/Livewire/BlogPost/ListView.php,line=31,col=0::Method App\Livewire\BlogPost\ListView::render() has no return type specified. -::error file=app/Livewire/Chat/LastUsers.php,line=9,col=0::Property App\Livewire\Chat\LastUsers::$lastChatUsers has no type specified. -::error file=app/Livewire/Chat/LastUsers.php,line=11,col=0::Property App\Livewire\Chat\LastUsers::$activeUserId has no type specified. -::error file=app/Livewire/Chat/LastUsers.php,line=13,col=0::Property App\Livewire\Chat\LastUsers::$curUserId has no type specified. -::error file=app/Livewire/Chat/LastUsers.php,line=15,col=0::Property App\Livewire\Chat\LastUsers::$chanId has no type specified. -::error file=app/Livewire/Chat/LastUsers.php,line=17,col=0::Method App\Livewire\Chat\LastUsers::render() has no return type specified. -::error file=app/Livewire/Chat/LastUsers.php,line=22,col=0::Method App\Livewire\Chat\LastUsers::switchTo() has no return type specified. -::error file=app/Livewire/Chat/LastUsers.php,line=22,col=0::Method App\Livewire\Chat\LastUsers::switchTo() has parameter $id with no type specified. -::error file=app/Livewire/Chat/MessageWindow.php,line=12,col=0::Property App\Livewire\Chat\MessageWindow::$messages has no type specified. -::error file=app/Livewire/Chat/MessageWindow.php,line=14,col=0::Property App\Livewire\Chat\MessageWindow::$curMessage has no type specified. -::error file=app/Livewire/Chat/MessageWindow.php,line=16,col=0::Property App\Livewire\Chat\MessageWindow::$curUserId has no type specified. -::error file=app/Livewire/Chat/MessageWindow.php,line=18,col=0::Property App\Livewire\Chat\MessageWindow::$recipientUserId has no type specified. -::error file=app/Livewire/Chat/MessageWindow.php,line=20,col=0::Property App\Livewire\Chat\MessageWindow::$recipientUser has no type specified. -::error file=app/Livewire/Chat/MessageWindow.php,line=22,col=0::Property App\Livewire\Chat\MessageWindow::$chanId has no type specified. -::error file=app/Livewire/Chat/MessageWindow.php,line=24,col=0::Property App\Livewire\Chat\MessageWindow::$curUser has no type specified. -::error file=app/Livewire/Chat/MessageWindow.php,line=26,col=0::Method App\Livewire\Chat\MessageWindow::getListeners() has no return type specified. -::error file=app/Livewire/Chat/MessageWindow.php,line=36,col=0::Method App\Livewire\Chat\MessageWindow::notifyNewMessage() has parameter $e with no type specified. -::error file=app/Livewire/Chat/MessageWindow.php,line=44,col=0::Method App\Livewire\Chat\MessageWindow::updateRecipientId() has no return type specified. -::error file=app/Livewire/Chat/MessageWindow.php,line=44,col=0::Method App\Livewire\Chat\MessageWindow::updateRecipientId() has parameter $id with no type specified. -::error file=app/Livewire/Chat/MessageWindow.php,line=48,col=0::Method App\Livewire\Chat\MessageWindow::whisperTypeing() has no return type specified. -::error file=app/Livewire/Chat/MessageWindow.php,line=61,col=0::Method App\Livewire\Chat\MessageWindow::mount() has no return type specified. -::error file=app/Livewire/Chat/MessageWindow.php,line=61,col=0::Method App\Livewire\Chat\MessageWindow::mount() has parameter $recipientUserId with no type specified. -::error file=app/Livewire/Chat/MessageWindow.php,line=77,col=0::Method App\Livewire\Chat\MessageWindow::render() has no return type specified. -::error file=app/Livewire/Chat/MessageWindow.php,line=82,col=0::Method App\Livewire\Chat\MessageWindow::sendChatMessage() has no return type specified. -::error file=app/Livewire/Chat/Tracker.php,line=9,col=0::Property App\Livewire\Chat\Tracker::$showNewMessageNotifycation has no type specified. -::error file=app/Livewire/Chat/Tracker.php,line=11,col=0::Property App\Livewire\Chat\Tracker::$myMessages has no type specified. -::error file=app/Livewire/Chat/Tracker.php,line=14,col=0::Property App\Livewire\Chat\Tracker::$listeners has no type specified. -::error file=app/Livewire/Chat/Tracker.php,line=16,col=0::Method App\Livewire\Chat\Tracker::notifyNewMessage() has parameter $payload with no type specified. -::error file=app/Livewire/Chat/Tracker.php,line=22,col=0::Method App\Livewire\Chat\Tracker::render() has no return type specified. -::error file=app/Livewire/Consultant/ListConsultants.php,line=10,col=0::Method App\Livewire\Consultant\ListConsultants::render() has no return type specified. -::error file=app/Livewire/Consultant/RegistrationForm.php,line=32,col=0::Property App\Livewire\Consultant\RegistrationForm::$certPhotos has no type specified. -::error file=app/Livewire/Consultant/RegistrationForm.php,line=34,col=0::Property App\Livewire\Consultant\RegistrationForm::$tmpCertPhotos has no type specified. -::error file=app/Livewire/Consultant/RegistrationForm.php,line=38,col=0::Property App\Livewire\Consultant\RegistrationForm::$rules has no type specified. -::error file=app/Livewire/Consultant/RegistrationForm.php,line=49,col=0::Method App\Livewire\Consultant\RegistrationForm::mount() has no return type specified. -::error file=app/Livewire/Consultant/RegistrationForm.php,line=64,col=0::If condition is always true. -::error file=app/Livewire/Consultant/RegistrationForm.php,line=69,col=0::Method App\Livewire\Consultant\RegistrationForm::render() has no return type specified. -::error file=app/Livewire/Consultant/RegistrationForm.php,line=74,col=0::Method App\Livewire\Consultant\RegistrationForm::addEducation() has no return type specified. -::error file=app/Livewire/Consultant/RegistrationForm.php,line=94,col=0::Method App\Livewire\Consultant\RegistrationForm::remove() has no return type specified. -::error file=app/Livewire/Consultant/RegistrationForm.php,line=94,col=0::Method App\Livewire\Consultant\RegistrationForm::remove() has parameter $index with no type specified. -::error file=app/Livewire/Consultant/RegistrationForm.php,line=107,col=0::Method App\Livewire\Consultant\RegistrationForm::save() has no return type specified. -::error file=app/Livewire/Consultant/RegistrationForm.php,line=161,col=0::Method App\Livewire\Consultant\RegistrationForm::deleteImg() has no return type specified. -::error file=app/Livewire/Consultant/RegistrationForm.php,line=161,col=0::Method App\Livewire\Consultant\RegistrationForm::deleteImg() has parameter $id with no type specified. -::error file=app/Livewire/Counter.php,line=9,col=0::Property App\Livewire\Counter::$count has no type specified. -::error file=app/Livewire/Counter.php,line=11,col=0::Method App\Livewire\Counter::inc() has no return type specified. -::error file=app/Livewire/Counter.php,line=16,col=0::Method App\Livewire\Counter::dec() has no return type specified. -::error file=app/Livewire/Counter.php,line=21,col=0::Method App\Livewire\Counter::render() has no return type specified. -::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=11,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$daysCount has no type specified. -::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=13,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$diary has no type specified. -::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=15,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$curMeals has no type specified. -::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=17,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$typeNames has no type specified. -::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=19,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$comments has no type specified. -::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=21,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$retireComment has no type specified. -::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=23,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$breakfastComment has no type specified. -::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=25,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$dinnerComment has no type specified. -::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=27,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$supperComment has no type specified. -::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=29,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$lunchComment has no type specified. -::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=31,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$snacksComment has no type specified. -::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=33,col=0::Property App\Livewire\Diary\ConsultantCommentsEdit::$totalComment has no type specified. -::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=35,col=0::Method App\Livewire\Diary\ConsultantCommentsEdit::mount() has no return type specified. -::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=46,col=0::Method App\Livewire\Diary\ConsultantCommentsEdit::render() has no return type specified. -::error file=app/Livewire/Diary/ConsultantCommentsEdit.php,line=58,col=0::Method App\Livewire\Diary\ConsultantCommentsEdit::save() has no return type specified. -::error file=app/Livewire/Diary/MealPhotos.php,line=17,col=0::Property App\Livewire\Diary\MealPhotos::$tmpMealPhotos has no type specified. -::error file=app/Livewire/Diary/MealPhotos.php,line=19,col=0::Method App\Livewire\Diary\MealPhotos::render() has no return type specified. -::error file=app/Livewire/Diary/MealPhotos.php,line=24,col=0::Access to an undefined property App\Models\Meal::$photos. -::error file=app/Livewire/Diary/MealPhotos.php,line=29,col=0::Method App\Livewire\Diary\MealPhotos::updatedTmpMealPhotos() has no return type specified. -::error file=app/Livewire/Diary/MealPhotos.php,line=29,col=0::Method App\Livewire\Diary\MealPhotos::updatedTmpMealPhotos() has parameter $values with no type specified. -::error file=app/Livewire/Diet/Comment/Create.php,line=16,col=0::Property App\Livewire\Diet\Comment\Create::$body has no type specified. -::error file=app/Livewire/Diet/Comment/Create.php,line=18,col=0::Property App\Livewire\Diet\Comment\Create::$grade has no type specified. -::error file=app/Livewire/Diet/Comment/Create.php,line=20,col=0::Property App\Livewire\Diet\Comment\Create::$isChecked has no type specified. -::error file=app/Livewire/Diet/Comment/Create.php,line=22,col=0::Method App\Livewire\Diet\Comment\Create::render() has no return type specified. -::error file=app/Livewire/Diet/Comment/Create.php,line=27,col=0::Method App\Livewire\Diet\Comment\Create::toggle() has no return type specified. -::error file=app/Livewire/Diet/Comment/Create.php,line=32,col=0::Method App\Livewire\Diet\Comment\Create::save() has no return type specified. -::error file=app/Livewire/Diet/Comment/Show.php,line=12,col=0::Property App\Livewire\Diet\Comment\Show::$listeners has no type specified. -::error file=app/Livewire/Diet/Comment/Show.php,line=14,col=0::Method App\Livewire\Diet\Comment\Show::render() has no return type specified. -::error file=app/Livewire/Diet/Comment/Upvote.php,line=12,col=0::Method App\Livewire\Diet\Comment\Upvote::mount() has no return type specified. -::error file=app/Livewire/Diet/Comment/Upvote.php,line=17,col=0::Method App\Livewire\Diet\Comment\Upvote::render() has no return type specified. -::error file=app/Livewire/Diet/Comment/Upvote.php,line=33,col=0::Method App\Livewire\Diet\Comment\Upvote::upvote() has no return type specified. -::error file=app/Livewire/Diet/Comment/Upvote.php,line=52,col=0::Method App\Livewire\Diet\Comment\Upvote::downvote() has no return type specified. -::error file=app/Livewire/Diet/Create.php,line=14,col=0::Property App\Livewire\Diet\Create::$name has no type specified. -::error file=app/Livewire/Diet/Create.php,line=16,col=0::Property App\Livewire\Diet\Create::$image has no type specified. -::error file=app/Livewire/Diet/Create.php,line=18,col=0::Property App\Livewire\Diet\Create::$duration has no type specified. -::error file=app/Livewire/Diet/Create.php,line=20,col=0::Property App\Livewire\Diet\Create::$state has no type specified. -::error file=app/Livewire/Diet/Create.php,line=22,col=0::Property App\Livewire\Diet\Create::$type has no type specified. -::error file=app/Livewire/Diet/Create.php,line=24,col=0::Property App\Livewire\Diet\Create::$details has no type specified. -::error file=app/Livewire/Diet/Create.php,line=26,col=0::Property App\Livewire\Diet\Create::$days has no type specified. -::error file=app/Livewire/Diet/Create.php,line=28,col=0::Property App\Livewire\Diet\Create::$copyedDay has no type specified. -::error file=app/Livewire/Diet/Create.php,line=30,col=0::Property App\Livewire\Diet\Create::$copyedDayData has no type specified. -::error file=app/Livewire/Diet/Create.php,line=32,col=0::Property App\Livewire\Diet\Create::$listeners has no type specified. -::error file=app/Livewire/Diet/Create.php,line=34,col=0::Method App\Livewire\Diet\Create::render() has no return type specified. -::error file=app/Livewire/Diet/Create.php,line=39,col=0::Method App\Livewire\Diet\Create::dayUpdated() has no return type specified. -::error file=app/Livewire/Diet/Create.php,line=39,col=0::Method App\Livewire\Diet\Create::dayUpdated() has parameter $data with no type specified. -::error file=app/Livewire/Diet/Create.php,line=39,col=0::Method App\Livewire\Diet\Create::dayUpdated() has parameter $dayIndex with no type specified. -::error file=app/Livewire/Diet/Create.php,line=44,col=0::Method App\Livewire\Diet\Create::showPreview() has no return type specified. -::error file=app/Livewire/Diet/Create.php,line=50,col=0::Method App\Livewire\Diet\Create::addToDrafts() has no return type specified. -::error file=app/Livewire/Diet/Create.php,line=56,col=0::Method App\Livewire\Diet\Create::makeCopy() has no return type specified. -::error file=app/Livewire/Diet/Create.php,line=56,col=0::Method App\Livewire\Diet\Create::makeCopy() has parameter $day with no type specified. -::error file=app/Livewire/Diet/Create.php,line=61,col=0::Method App\Livewire\Diet\Create::makePaste() has no return type specified. -::error file=app/Livewire/Diet/Create.php,line=61,col=0::Method App\Livewire\Diet\Create::makePaste() has parameter $copyToDay with no type specified. -::error file=app/Livewire/Diet/Create.php,line=67,col=0::Method App\Livewire\Diet\Create::publish() has no return type specified. -::error file=app/Livewire/Diet/Create.php,line=87,col=0::Method App\Livewire\Diet\Create::rules() has no return type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=9,col=0::Property App\Livewire\Diet\DayEdit::$day has no type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=11,col=0::Property App\Livewire\Diet\DayEdit::$eatingTypes has no type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=13,col=0::Property App\Livewire\Diet\DayEdit::$activeType has no type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=15,col=0::Property App\Livewire\Diet\DayEdit::$portions has no type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=17,col=0::Property App\Livewire\Diet\DayEdit::$name has no type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=19,col=0::Property App\Livewire\Diet\DayEdit::$quantity has no type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=21,col=0::Property App\Livewire\Diet\DayEdit::$portion has no type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=23,col=0::Property App\Livewire\Diet\DayEdit::$listeners has no type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=25,col=0::Property App\Livewire\Diet\DayEdit::$rules has no type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=31,col=0::Method App\Livewire\Diet\DayEdit::render() has no return type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=36,col=0::Method App\Livewire\Diet\DayEdit::addPortion() has no return type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=36,col=0::Method App\Livewire\Diet\DayEdit::addPortion() has parameter $type with no type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=52,col=0::Method App\Livewire\Diet\DayEdit::delete() has no return type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=52,col=0::Method App\Livewire\Diet\DayEdit::delete() has parameter $type with no type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=52,col=0::Method App\Livewire\Diet\DayEdit::delete() has parameter $uniq with no type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=64,col=0::Method App\Livewire\Diet\DayEdit::edit() has no return type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=64,col=0::Method App\Livewire\Diet\DayEdit::edit() has parameter $type with no type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=64,col=0::Method App\Livewire\Diet\DayEdit::edit() has parameter $uniq with no type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=83,col=0::Method App\Livewire\Diet\DayEdit::takePaste() has no return type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=83,col=0::Method App\Livewire\Diet\DayEdit::takePaste() has parameter $data with no type specified. -::error file=app/Livewire/Diet/DayEdit.php,line=83,col=0::Method App\Livewire\Diet\DayEdit::takePaste() has parameter $day with no type specified. -::error file=app/Livewire/Diet/Edit.php,line=12,col=0::Property App\Livewire\Diet\Edit::$name has no type specified. -::error file=app/Livewire/Diet/Edit.php,line=14,col=0::Property App\Livewire\Diet\Edit::$image has no type specified. -::error file=app/Livewire/Diet/Edit.php,line=16,col=0::Property App\Livewire\Diet\Edit::$duration has no type specified. -::error file=app/Livewire/Diet/Edit.php,line=18,col=0::Property App\Livewire\Diet\Edit::$state has no type specified. -::error file=app/Livewire/Diet/Edit.php,line=20,col=0::Property App\Livewire\Diet\Edit::$type has no type specified. -::error file=app/Livewire/Diet/Edit.php,line=22,col=0::Property App\Livewire\Diet\Edit::$details has no type specified. -::error file=app/Livewire/Diet/Edit.php,line=24,col=0::Property App\Livewire\Diet\Edit::$days has no type specified. -::error file=app/Livewire/Diet/Edit.php,line=26,col=0::Property App\Livewire\Diet\Edit::$copyedDay has no type specified. -::error file=app/Livewire/Diet/Edit.php,line=28,col=0::Property App\Livewire\Diet\Edit::$copyedDayData has no type specified. -::error file=app/Livewire/Diet/Edit.php,line=30,col=0::Property App\Livewire\Diet\Edit::$listeners has no type specified. -::error file=app/Livewire/Diet/Edit.php,line=32,col=0::Method App\Livewire\Diet\Edit::mount() has no return type specified. -::error file=app/Livewire/Diet/Edit.php,line=43,col=0::Method App\Livewire\Diet\Edit::render() has no return type specified. -::error file=app/Livewire/Diet/Edit.php,line=48,col=0::Method App\Livewire\Diet\Edit::dayUpdated() has no return type specified. -::error file=app/Livewire/Diet/Edit.php,line=48,col=0::Method App\Livewire\Diet\Edit::dayUpdated() has parameter $data with no type specified. -::error file=app/Livewire/Diet/Edit.php,line=48,col=0::Method App\Livewire\Diet\Edit::dayUpdated() has parameter $dayIndex with no type specified. -::error file=app/Livewire/Diet/Edit.php,line=53,col=0::Method App\Livewire\Diet\Edit::showPreview() has no return type specified. -::error file=app/Livewire/Diet/Edit.php,line=59,col=0::Method App\Livewire\Diet\Edit::addToDrafts() has no return type specified. -::error file=app/Livewire/Diet/Edit.php,line=65,col=0::Method App\Livewire\Diet\Edit::makeCopy() has no return type specified. -::error file=app/Livewire/Diet/Edit.php,line=65,col=0::Method App\Livewire\Diet\Edit::makeCopy() has parameter $day with no type specified. -::error file=app/Livewire/Diet/Edit.php,line=71,col=0::Method App\Livewire\Diet\Edit::makePaste() has no return type specified. -::error file=app/Livewire/Diet/Edit.php,line=71,col=0::Method App\Livewire\Diet\Edit::makePaste() has parameter $copyToDay with no type specified. -::error file=app/Livewire/Diet/Edit.php,line=81,col=0::Method App\Livewire\Diet\Edit::publish() has no return type specified. -::error file=app/Livewire/Diet/Edit.php,line=102,col=0::Method App\Livewire\Diet\Edit::rules() has no return type specified. -::error file=app/Livewire/Diet/Like.php,line=12,col=0::Property App\Livewire\Diet\Like::$isIconOnly has no type specified. -::error file=app/Livewire/Diet/Like.php,line=14,col=0::Method App\Livewire\Diet\Like::mount() has no return type specified. -::error file=app/Livewire/Diet/Like.php,line=19,col=0::Method App\Livewire\Diet\Like::render() has no return type specified. -::error file=app/Livewire/Diet/LikeCount.php,line=12,col=0::Property App\Livewire\Diet\LikeCount::$listeners has no type specified. -::error file=app/Livewire/Diet/LikeCount.php,line=14,col=0::Method App\Livewire\Diet\LikeCount::mount() has no return type specified. -::error file=app/Livewire/Diet/LikeCount.php,line=19,col=0::Method App\Livewire\Diet\LikeCount::render() has no return type specified. -::error file=app/Livewire/Diet/StartButton.php,line=16,col=0::Property App\Livewire\Diet\StartButton::$chosenDietState has no type specified. -::error file=app/Livewire/Diet/StartButton.php,line=18,col=0::Method App\Livewire\Diet\StartButton::mount() has no return type specified. -::error file=app/Livewire/Diet/StartButton.php,line=23,col=0::Method App\Livewire\Diet\StartButton::render() has no return type specified. -::error file=app/Livewire/Diet/StartButton.php,line=28,col=0::Method App\Livewire\Diet\StartButton::start() has no return type specified. -::error file=app/Livewire/Diet/StartButton.php,line=36,col=0::Method App\Livewire\Diet\StartButton::getLastState() has no return type specified. -::error file=app/Livewire/Feed/Index.php,line=9,col=0::Property App\Livewire\Feed\Index::$posts has no type specified. -::error file=app/Livewire/Feed/Index.php,line=11,col=0::Method App\Livewire\Feed\Index::render() has no return type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=14,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$first_name has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=17,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$last_name has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=20,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$email has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=23,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$gender has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=26,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$birthdate has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=29,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$country has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=32,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$city has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=35,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$lang has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=38,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$weight has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=41,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$height has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=44,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$chest_circumference has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=47,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$waist_circumference has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=50,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$hip_circumference has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=53,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$blood_pressure_up has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=56,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$blood_pressure_down has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=59,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$has_hypo has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=62,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$has_hyper has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=65,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$about_alergy has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=68,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$about_taking_pils has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=71,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$about_sport_hobbies has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=74,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$favorite_foods has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=77,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$unfavorite_foods has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=80,col=0::Property App\Livewire\Forms\ProfileEditDetailzForm::$additional_info has no type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=82,col=0::Method App\Livewire\Forms\ProfileEditDetailzForm::setDetailz() has no return type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=87,col=0::Access to an undefined property App\Models\UserDetailz::$user. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=110,col=0::Method App\Livewire\Forms\ProfileEditDetailzForm::update() has no return type specified. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=116,col=0::Access to an undefined property App\Models\UserDetailz::$user. -::error file=app/Livewire/Forms/ProfileEditDetailzForm.php,line=117,col=0::Access to an undefined property App\Models\UserDetailz::$user. -::error file=app/Livewire/MealForm.php,line=12,col=0::Property App\Livewire\MealForm::$time has no type specified. -::error file=app/Livewire/MealForm.php,line=14,col=0::Property App\Livewire\MealForm::$type has no type specified. -::error file=app/Livewire/MealForm.php,line=16,col=0::Property App\Livewire\MealForm::$satiety has no type specified. -::error file=app/Livewire/MealForm.php,line=18,col=0::Property App\Livewire\MealForm::$mood has no type specified. -::error file=app/Livewire/MealForm.php,line=20,col=0::Property App\Livewire\MealForm::$product_name has no type specified. -::error file=app/Livewire/MealForm.php,line=22,col=0::Property App\Livewire\MealForm::$portions has no type specified. -::error file=app/Livewire/MealForm.php,line=24,col=0::Property App\Livewire\MealForm::$quantity has no type specified. -::error file=app/Livewire/MealForm.php,line=26,col=0::Property App\Livewire\MealForm::$pcs has no type specified. -::error file=app/Livewire/MealForm.php,line=28,col=0::Property App\Livewire\MealForm::$unit has no type specified. -::error file=app/Livewire/MealForm.php,line=30,col=0::Property App\Livewire\MealForm::$diaryId has no type specified. -::error file=app/Livewire/MealForm.php,line=36,col=0::Property App\Livewire\MealForm::$portion has no type specified. -::error file=app/Livewire/MealForm.php,line=38,col=0::Property App\Livewire\MealForm::$rules has no type specified. -::error file=app/Livewire/MealForm.php,line=44,col=0::Property App\Livewire\MealForm::$listeners has no type specified. -::error file=app/Livewire/MealForm.php,line=46,col=0::Method App\Livewire\MealForm::mount() has no return type specified. -::error file=app/Livewire/MealForm.php,line=49,col=0::Access to an undefined property App\Models\Diary|Illuminate\Database\Eloquent\Collection::$meals. -::error file=app/Livewire/MealForm.php,line=53,col=0::Access to an undefined property App\Models\Diary|Illuminate\Database\Eloquent\Collection::$meals. -::error file=app/Livewire/MealForm.php,line=68,col=0::Method App\Livewire\MealForm::updatingType() has no return type specified. -::error file=app/Livewire/MealForm.php,line=68,col=0::Method App\Livewire\MealForm::updatingType() has parameter $value with no type specified. -::error file=app/Livewire/MealForm.php,line=70,col=0::Access to an undefined property App\Models\Diary::$meals. -::error file=app/Livewire/MealForm.php,line=76,col=0::Method App\Livewire\MealForm::render() has no return type specified. -::error file=app/Livewire/MealForm.php,line=88,col=0::Access to an undefined property App\Models\Diary::$meals. -::error file=app/Livewire/MealForm.php,line=102,col=0::Method App\Livewire\MealForm::addFoodIntake() has no return type specified. -::error file=app/Livewire/MealForm.php,line=145,col=0::Method App\Livewire\MealForm::addPortion() has no return type specified. -::error file=app/Livewire/MealForm.php,line=162,col=0::Method App\Livewire\MealForm::editPortion() has no return type specified. -::error file=app/Livewire/MealForm.php,line=162,col=0::Method App\Livewire\MealForm::editPortion() has parameter $item with no type specified. -::error file=app/Livewire/MealForm.php,line=162,col=0::Method App\Livewire\MealForm::editPortion() has parameter $key with no type specified. -::error file=app/Livewire/MealForm.php,line=173,col=0::Method App\Livewire\MealForm::delPortion() has no return type specified. -::error file=app/Livewire/MealForm.php,line=173,col=0::Method App\Livewire\MealForm::delPortion() has parameter $item with no type specified. -::error file=app/Livewire/MealForm.php,line=173,col=0::Method App\Livewire\MealForm::delPortion() has parameter $key with no type specified. -::error file=app/Livewire/MealForm.php,line=189,col=0::Method App\Livewire\MealForm::addPortionIfItFilled() has no return type specified. -::error file=app/Livewire/Plan/Accordion.php,line=12,col=0::Property App\Livewire\Plan\Accordion::$accordionState has no type specified. -::error file=app/Livewire/Plan/Accordion.php,line=14,col=0::Property App\Livewire\Plan\Accordion::$options1 has no type specified. -::error file=app/Livewire/Plan/Accordion.php,line=16,col=0::Property App\Livewire\Plan\Accordion::$options2 has no type specified. -::error file=app/Livewire/Plan/Accordion.php,line=18,col=0::Property App\Livewire\Plan\Accordion::$options3 has no type specified. -::error file=app/Livewire/Plan/Accordion.php,line=30,col=0::Method App\Livewire\Plan\Accordion::render() has no return type specified. -::error file=app/Livewire/Plan/Accordion.php,line=35,col=0::Method App\Livewire\Plan\Accordion::toggleAccordionState() has no return type specified. -::error file=app/Livewire/Plan/Accordion.php,line=35,col=0::Method App\Livewire\Plan\Accordion::toggleAccordionState() has parameter $optionName with no type specified. -::error file=app/Livewire/Plan/Accordion.php,line=45,col=0::Method App\Livewire\Plan\Accordion::unserializeOptions() has no return type specified. -::error file=app/Livewire/Plan/Accordion.php,line=45,col=0::Method App\Livewire\Plan\Accordion::unserializeOptions() has parameter $str with no type specified. -::error file=app/Livewire/Plan/Accordion.php,line=45,col=0::Method App\Livewire\Plan\Accordion::unserializeOptions() is unused. -::error file=app/Livewire/Plan/Comment/Create.php,line=16,col=0::Property App\Livewire\Plan\Comment\Create::$body has no type specified. -::error file=app/Livewire/Plan/Comment/Create.php,line=18,col=0::Property App\Livewire\Plan\Comment\Create::$grade has no type specified. -::error file=app/Livewire/Plan/Comment/Create.php,line=20,col=0::Property App\Livewire\Plan\Comment\Create::$isChecked has no type specified. -::error file=app/Livewire/Plan/Comment/Create.php,line=22,col=0::Method App\Livewire\Plan\Comment\Create::render() has no return type specified. -::error file=app/Livewire/Plan/Comment/Create.php,line=27,col=0::Method App\Livewire\Plan\Comment\Create::toggle() has no return type specified. -::error file=app/Livewire/Plan/Comment/Create.php,line=32,col=0::Method App\Livewire\Plan\Comment\Create::save() has no return type specified. -::error file=app/Livewire/Plan/Comment/Show.php,line=14,col=0::Property App\Livewire\Plan\Comment\Show::$listeners has no type specified. -::error file=app/Livewire/Plan/Comment/Show.php,line=16,col=0::Method App\Livewire\Plan\Comment\Show::render() has no return type specified. -::error file=app/Livewire/Plan/Comment/Show.php,line=21,col=0::Method App\Livewire\Plan\Comment\Show::toggleTabpanelState() has no return type specified. -::error file=app/Livewire/Plan/Comment/Show.php,line=21,col=0::Method App\Livewire\Plan\Comment\Show::toggleTabpanelState() has parameter $tabpanelName with no type specified. -::error file=app/Livewire/Plan/Comment/Upvote.php,line=12,col=0::Method App\Livewire\Plan\Comment\Upvote::mount() has no return type specified. -::error file=app/Livewire/Plan/Comment/Upvote.php,line=17,col=0::Method App\Livewire\Plan\Comment\Upvote::render() has no return type specified. -::error file=app/Livewire/Plan/Comment/Upvote.php,line=33,col=0::Method App\Livewire\Plan\Comment\Upvote::upvote() has no return type specified. -::error file=app/Livewire/Plan/Comment/Upvote.php,line=52,col=0::Method App\Livewire\Plan\Comment\Upvote::downvote() has no return type specified. -::error file=app/Livewire/Plan/Create.php,line=15,col=0::Property App\Livewire\Plan\Create::$name has no type specified. -::error file=app/Livewire/Plan/Create.php,line=17,col=0::Property App\Livewire\Plan\Create::$image has no type specified. -::error file=app/Livewire/Plan/Create.php,line=19,col=0::Property App\Livewire\Plan\Create::$duration has no type specified. -::error file=app/Livewire/Plan/Create.php,line=21,col=0::Property App\Livewire\Plan\Create::$state has no type specified. -::error file=app/Livewire/Plan/Create.php,line=23,col=0::Property App\Livewire\Plan\Create::$type has no type specified. -::error file=app/Livewire/Plan/Create.php,line=25,col=0::Property App\Livewire\Plan\Create::$details has no type specified. -::error file=app/Livewire/Plan/Create.php,line=27,col=0::Property App\Livewire\Plan\Create::$packets_count has no type specified. -::error file=app/Livewire/Plan/Create.php,line=29,col=0::Property App\Livewire\Plan\Create::$packet1_options has no type specified. -::error file=app/Livewire/Plan/Create.php,line=31,col=0::Property App\Livewire\Plan\Create::$packet2_options has no type specified. -::error file=app/Livewire/Plan/Create.php,line=33,col=0::Property App\Livewire\Plan\Create::$packet3_options has no type specified. -::error file=app/Livewire/Plan/Create.php,line=35,col=0::Property App\Livewire\Plan\Create::$packet1_options_input has no type specified. -::error file=app/Livewire/Plan/Create.php,line=37,col=0::Property App\Livewire\Plan\Create::$packet2_options_input has no type specified. -::error file=app/Livewire/Plan/Create.php,line=39,col=0::Property App\Livewire\Plan\Create::$packet3_options_input has no type specified. -::error file=app/Livewire/Plan/Create.php,line=41,col=0::Property App\Livewire\Plan\Create::$input_items_1 has no type specified. -::error file=app/Livewire/Plan/Create.php,line=43,col=0::Property App\Livewire\Plan\Create::$input_items_2 has no type specified. -::error file=app/Livewire/Plan/Create.php,line=45,col=0::Property App\Livewire\Plan\Create::$input_items_3 has no type specified. -::error file=app/Livewire/Plan/Create.php,line=47,col=0::Property App\Livewire\Plan\Create::$isVisibleDuration has no type specified. -::error file=app/Livewire/Plan/Create.php,line=49,col=0::Property App\Livewire\Plan\Create::$isVisibleState has no type specified. -::error file=app/Livewire/Plan/Create.php,line=51,col=0::Method App\Livewire\Plan\Create::render() has no return type specified. -::error file=app/Livewire/Plan/Create.php,line=56,col=0::Method App\Livewire\Plan\Create::showListDuration() has no return type specified. -::error file=app/Livewire/Plan/Create.php,line=61,col=0::Method App\Livewire\Plan\Create::showListState() has no return type specified. -::error file=app/Livewire/Plan/Create.php,line=66,col=0::Method App\Livewire\Plan\Create::toggleDuration() has no return type specified. -::error file=app/Livewire/Plan/Create.php,line=66,col=0::Method App\Livewire\Plan\Create::toggleDuration() has parameter $duration with no type specified. -::error file=app/Livewire/Plan/Create.php,line=72,col=0::Method App\Livewire\Plan\Create::toggleState() has no return type specified. -::error file=app/Livewire/Plan/Create.php,line=72,col=0::Method App\Livewire\Plan\Create::toggleState() has parameter $state with no type specified. -::error file=app/Livewire/Plan/Create.php,line=78,col=0::Method App\Livewire\Plan\Create::addPacketOption() has no return type specified. -::error file=app/Livewire/Plan/Create.php,line=78,col=0::Method App\Livewire\Plan\Create::addPacketOption() has parameter $options_type with no type specified. -::error file=app/Livewire/Plan/Create.php,line=78,col=0::Method App\Livewire\Plan\Create::addPacketOption() has parameter $options_type_input with no type specified. -::error file=app/Livewire/Plan/Create.php,line=94,col=0::Method App\Livewire\Plan\Create::publish() has no return type specified. -::error file=app/Livewire/Plan/Create.php,line=119,col=0::Method App\Livewire\Plan\Create::addToDrafts() has no return type specified. -::error file=app/Livewire/Plan/Create.php,line=125,col=0::Method App\Livewire\Plan\Create::showPreview() has no return type specified. -::error file=app/Livewire/Plan/Create.php,line=131,col=0::Method App\Livewire\Plan\Create::rules() has no return type specified. -::error file=app/Livewire/Plan/Edit.php,line=15,col=0::Property App\Livewire\Plan\Edit::$name has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=17,col=0::Property App\Livewire\Plan\Edit::$image has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=19,col=0::Property App\Livewire\Plan\Edit::$duration has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=21,col=0::Property App\Livewire\Plan\Edit::$state has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=23,col=0::Property App\Livewire\Plan\Edit::$type has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=25,col=0::Property App\Livewire\Plan\Edit::$details has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=27,col=0::Property App\Livewire\Plan\Edit::$packets_count has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=29,col=0::Property App\Livewire\Plan\Edit::$packet1_options has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=31,col=0::Property App\Livewire\Plan\Edit::$packet2_options has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=33,col=0::Property App\Livewire\Plan\Edit::$packet3_options has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=35,col=0::Property App\Livewire\Plan\Edit::$packet1_options_input has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=37,col=0::Property App\Livewire\Plan\Edit::$packet2_options_input has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=39,col=0::Property App\Livewire\Plan\Edit::$packet3_options_input has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=41,col=0::Property App\Livewire\Plan\Edit::$input_items_1 has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=43,col=0::Property App\Livewire\Plan\Edit::$input_items_2 has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=45,col=0::Property App\Livewire\Plan\Edit::$input_items_3 has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=47,col=0::Property App\Livewire\Plan\Edit::$isVisibleDuration has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=49,col=0::Property App\Livewire\Plan\Edit::$isVisibleState has no type specified. -::error file=app/Livewire/Plan/Edit.php,line=51,col=0::Method App\Livewire\Plan\Edit::mount() has no return type specified. -::error file=app/Livewire/Plan/Edit.php,line=99,col=0::Method App\Livewire\Plan\Edit::showListDuration() has no return type specified. -::error file=app/Livewire/Plan/Edit.php,line=104,col=0::Method App\Livewire\Plan\Edit::showListState() has no return type specified. -::error file=app/Livewire/Plan/Edit.php,line=109,col=0::Method App\Livewire\Plan\Edit::toggleDuration() has no return type specified. -::error file=app/Livewire/Plan/Edit.php,line=109,col=0::Method App\Livewire\Plan\Edit::toggleDuration() has parameter $duration with no type specified. -::error file=app/Livewire/Plan/Edit.php,line=115,col=0::Method App\Livewire\Plan\Edit::toggleState() has no return type specified. -::error file=app/Livewire/Plan/Edit.php,line=115,col=0::Method App\Livewire\Plan\Edit::toggleState() has parameter $state with no type specified. -::error file=app/Livewire/Plan/Edit.php,line=121,col=0::Method App\Livewire\Plan\Edit::addPacketOption() has no return type specified. -::error file=app/Livewire/Plan/Edit.php,line=121,col=0::Method App\Livewire\Plan\Edit::addPacketOption() has parameter $options_type with no type specified. -::error file=app/Livewire/Plan/Edit.php,line=121,col=0::Method App\Livewire\Plan\Edit::addPacketOption() has parameter $options_type_input with no type specified. -::error file=app/Livewire/Plan/Edit.php,line=138,col=0::Method App\Livewire\Plan\Edit::publish() has no return type specified. -::error file=app/Livewire/Plan/Edit.php,line=161,col=0::Method App\Livewire\Plan\Edit::addToDrafts() has no return type specified. -::error file=app/Livewire/Plan/Edit.php,line=167,col=0::Method App\Livewire\Plan\Edit::showPreview() has no return type specified. -::error file=app/Livewire/Plan/Edit.php,line=173,col=0::Method App\Livewire\Plan\Edit::render() has no return type specified. -::error file=app/Livewire/Plan/Edit.php,line=178,col=0::Method App\Livewire\Plan\Edit::rules() has no return type specified. -::error file=app/Livewire/Plan/Like/AnnouncementDetails.php,line=13,col=0::Method App\Livewire\Plan\Like\AnnouncementDetails::mount() has no return type specified. -::error file=app/Livewire/Plan/Like/AnnouncementDetails.php,line=18,col=0::Method App\Livewire\Plan\Like\AnnouncementDetails::render() has no return type specified. -::error file=app/Livewire/Plan/Like/AnnouncementFooter.php,line=13,col=0::Method App\Livewire\Plan\Like\AnnouncementFooter::mount() has no return type specified. -::error file=app/Livewire/Plan/Like/AnnouncementFooter.php,line=18,col=0::Method App\Livewire\Plan\Like\AnnouncementFooter::render() has no return type specified. -::error file=app/Livewire/Plan/LikeCount.php,line=12,col=0::Property App\Livewire\Plan\LikeCount::$listeners has no type specified. -::error file=app/Livewire/Plan/LikeCount.php,line=14,col=0::Method App\Livewire\Plan\LikeCount::mount() has no return type specified. -::error file=app/Livewire/Plan/LikeCount.php,line=19,col=0::Method App\Livewire\Plan\LikeCount::render() has no return type specified. -::error file=app/Livewire/PortionShow.php,line=9,col=0::Method App\Livewire\PortionShow::render() has no return type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=14,col=0::Property App\Livewire\ProductNutritional\Create::$name has no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=16,col=0::Property App\Livewire\ProductNutritional\Create::$product_group has no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=18,col=0::Property App\Livewire\ProductNutritional\Create::$image has no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=20,col=0::Property App\Livewire\ProductNutritional\Create::$description has no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=22,col=0::Property App\Livewire\ProductNutritional\Create::$formulations has no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=24,col=0::Property App\Livewire\ProductNutritional\Create::$energy_on_100gr has no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=26,col=0::Property App\Livewire\ProductNutritional\Create::$proteins_on_100gr has no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=28,col=0::Property App\Livewire\ProductNutritional\Create::$fats_on_100gr has no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=30,col=0::Property App\Livewire\ProductNutritional\Create::$carbohydrates_on_100gr has no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=32,col=0::Property App\Livewire\ProductNutritional\Create::$portion_mass_gr has no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=34,col=0::Property App\Livewire\ProductNutritional\Create::$energy_on_portion has no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=36,col=0::Property App\Livewire\ProductNutritional\Create::$proteins_on_portion has no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=38,col=0::Property App\Livewire\ProductNutritional\Create::$fats_on_portion has no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=40,col=0::Property App\Livewire\ProductNutritional\Create::$carbohydrates_on_portion has no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=42,col=0::Property App\Livewire\ProductNutritional\Create::$curProductNutritionalValue has no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=44,col=0::Method App\Livewire\ProductNutritional\Create::render() has no return type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=49,col=0::Method App\Livewire\ProductNutritional\Create::save() has no return type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=73,col=0::Method App\Livewire\ProductNutritional\Create::recalulateVals() has no return type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=73,col=0::Method App\Livewire\ProductNutritional\Create::recalulateVals() has parameter $mass with no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=92,col=0::Method App\Livewire\ProductNutritional\Create::recalulatePortionVals() has no return type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=92,col=0::Method App\Livewire\ProductNutritional\Create::recalulatePortionVals() has parameter $mass with no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=110,col=0::Method App\Livewire\ProductNutritional\Create::updated() has no return type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=110,col=0::Method App\Livewire\ProductNutritional\Create::updated() has parameter $name with no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=110,col=0::Method App\Livewire\ProductNutritional\Create::updated() has parameter $value with no type specified. -::error file=app/Livewire/ProductNutritional/Create.php,line=124,col=0::Method App\Livewire\ProductNutritional\Create::delete() has no return type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=14,col=0::Property App\Livewire\ProductNutritional\Edit::$name has no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=16,col=0::Property App\Livewire\ProductNutritional\Edit::$product_group has no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=18,col=0::Property App\Livewire\ProductNutritional\Edit::$image has no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=20,col=0::Property App\Livewire\ProductNutritional\Edit::$description has no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=22,col=0::Property App\Livewire\ProductNutritional\Edit::$formulations has no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=24,col=0::Property App\Livewire\ProductNutritional\Edit::$energy_on_100gr has no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=26,col=0::Property App\Livewire\ProductNutritional\Edit::$proteins_on_100gr has no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=28,col=0::Property App\Livewire\ProductNutritional\Edit::$fats_on_100gr has no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=30,col=0::Property App\Livewire\ProductNutritional\Edit::$carbohydrates_on_100gr has no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=32,col=0::Property App\Livewire\ProductNutritional\Edit::$portion_mass_gr has no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=34,col=0::Property App\Livewire\ProductNutritional\Edit::$energy_on_portion has no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=36,col=0::Property App\Livewire\ProductNutritional\Edit::$proteins_on_portion has no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=38,col=0::Property App\Livewire\ProductNutritional\Edit::$fats_on_portion has no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=40,col=0::Property App\Livewire\ProductNutritional\Edit::$carbohydrates_on_portion has no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=42,col=0::Property App\Livewire\ProductNutritional\Edit::$product has no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=44,col=0::Method App\Livewire\ProductNutritional\Edit::mount() has no return type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=47,col=0::Access to an undefined property App\Models\ProductNutritionalValue::$product_group. -::error file=app/Livewire/ProductNutritional/Edit.php,line=62,col=0::Method App\Livewire\ProductNutritional\Edit::render() has no return type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=67,col=0::Method App\Livewire\ProductNutritional\Edit::save() has no return type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=94,col=0::Method App\Livewire\ProductNutritional\Edit::recalulateVals() has no return type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=94,col=0::Method App\Livewire\ProductNutritional\Edit::recalulateVals() has parameter $mass with no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=113,col=0::Method App\Livewire\ProductNutritional\Edit::recalulatePortionVals() has no return type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=113,col=0::Method App\Livewire\ProductNutritional\Edit::recalulatePortionVals() has parameter $mass with no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=131,col=0::Method App\Livewire\ProductNutritional\Edit::updated() has no return type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=131,col=0::Method App\Livewire\ProductNutritional\Edit::updated() has parameter $name with no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=131,col=0::Method App\Livewire\ProductNutritional\Edit::updated() has parameter $value with no type specified. -::error file=app/Livewire/ProductNutritional/Edit.php,line=145,col=0::Method App\Livewire\ProductNutritional\Edit::delete() has no return type specified. -::error file=app/Livewire/ProductNutritional/Index.php,line=10,col=0::Method App\Livewire\ProductNutritional\Index::render() has no return type specified. -::error file=app/Livewire/Profile/CircumferenceChart.php,line=13,col=0::Property App\Livewire\Profile\CircumferenceChart::$listeners has no type specified. -::error file=app/Livewire/Profile/CircumferenceChart.php,line=15,col=0::Method App\Livewire\Profile\CircumferenceChart::render() has no return type specified. -::error file=app/Livewire/Profile/CircumferenceChart.php,line=17,col=0::Called 'last' on Laravel collection, but could have been retrieved as a query. -::error file=app/Livewire/Profile/DescriptionForm.php,line=10,col=0::Property App\Livewire\Profile\DescriptionForm::$description has no type specified. -::error file=app/Livewire/Profile/DescriptionForm.php,line=12,col=0::Property App\Livewire\Profile\DescriptionForm::$user has no type specified. -::error file=app/Livewire/Profile/DescriptionForm.php,line=14,col=0::Method App\Livewire\Profile\DescriptionForm::mount() has no return type specified. -::error file=app/Livewire/Profile/DescriptionForm.php,line=20,col=0::Method App\Livewire\Profile\DescriptionForm::updatedDescription() has no return type specified. -::error file=app/Livewire/Profile/DescriptionForm.php,line=20,col=0::Method App\Livewire\Profile\DescriptionForm::updatedDescription() has parameter $value with no type specified. -::error file=app/Livewire/Profile/DescriptionForm.php,line=28,col=0::Method App\Livewire\Profile\DescriptionForm::render() has no return type specified. -::error file=app/Livewire/Profile/DescriptionForm.php,line=33,col=0::Method App\Livewire\Profile\DescriptionForm::initDetailzIfNeeded() has no return type specified. -::error file=app/Livewire/Profile/DescriptionForm.php,line=47,col=0::Call to function is_null() with int will always evaluate to false. -::error file=app/Livewire/Profile/EditDetailzForm.php,line=28,col=0::Method App\Livewire\Profile\EditDetailzForm::mount() has no return type specified. -::error file=app/Livewire/Profile/EditDetailzForm.php,line=34,col=0::Method App\Livewire\Profile\EditDetailzForm::updatePassword() has no return type specified. -::error file=app/Livewire/Profile/EditDetailzForm.php,line=57,col=0::Method App\Livewire\Profile\EditDetailzForm::refineDetailz() has no return type specified. -::error file=app/Livewire/Profile/EditDetailzForm.php,line=62,col=0::Method App\Livewire\Profile\EditDetailzForm::render() has no return type specified. -::error file=app/Livewire/Profile/PhotoForm.php,line=29,col=0::Property App\Livewire\Profile\PhotoForm::$isOnline has no type specified. -::error file=app/Livewire/Profile/PhotoForm.php,line=31,col=0::Property App\Livewire\Profile\PhotoForm::$user has no type specified. -::error file=app/Livewire/Profile/PhotoForm.php,line=73,col=0::Method App\Livewire\Profile\PhotoForm::updatedPhoto() has no return type specified. -::error file=app/Livewire/Profile/PhotoForm.php,line=73,col=0::Method App\Livewire\Profile\PhotoForm::updatedPhoto() has parameter $newPhoto with no type specified. -::error file=app/Livewire/Profile/PhotoForm.php,line=102,col=0::Method App\Livewire\Profile\PhotoForm::render() has no return type specified. -::error file=app/Livewire/Profile/ShowDetailz.php,line=10,col=0::Property App\Livewire\Profile\ShowDetailz::$user has no type specified. -::error file=app/Livewire/Profile/ShowDetailz.php,line=12,col=0::Property App\Livewire\Profile\ShowDetailz::$userDetailzAttributes has no type specified. -::error file=app/Livewire/Profile/ShowDetailz.php,line=14,col=0::Property App\Livewire\Profile\ShowDetailz::$regFormKeys has no type specified. -::error file=app/Livewire/Profile/ShowDetailz.php,line=16,col=0::Property App\Livewire\Profile\ShowDetailz::$userDetailz has no type specified. -::error file=app/Livewire/Profile/ShowDetailz.php,line=18,col=0::Property App\Livewire\Profile\ShowDetailz::$publicity has no type specified. -::error file=app/Livewire/Profile/ShowDetailz.php,line=20,col=0::Property App\Livewire\Profile\ShowDetailz::$is_bedtime_fillable has no type specified. -::error file=app/Livewire/Profile/ShowDetailz.php,line=22,col=0::Property App\Livewire\Profile\ShowDetailz::$is_mood_fillable has no type specified. -::error file=app/Livewire/Profile/ShowDetailz.php,line=24,col=0::Method App\Livewire\Profile\ShowDetailz::mount() has no return type specified. -::error file=app/Livewire/Profile/ShowDetailz.php,line=31,col=0::Method App\Livewire\Profile\ShowDetailz::render() has no return type specified. -::error file=app/Livewire/Profile/ShowDetailz.php,line=36,col=0::Method App\Livewire\Profile\ShowDetailz::editAction() has no return type specified. -::error file=app/Livewire/Profile/ShowDetailz.php,line=41,col=0::Method App\Livewire\Profile\ShowDetailz::updated() has parameter $name with no type specified. -::error file=app/Livewire/Profile/ShowDetailz.php,line=41,col=0::Method App\Livewire\Profile\ShowDetailz::updated() has parameter $value with no type specified. -::error file=app/Livewire/Profile/WeightChart.php,line=13,col=0::Property App\Livewire\Profile\WeightChart::$listeners has no type specified. -::error file=app/Livewire/Profile/WeightChart.php,line=15,col=0::Method App\Livewire\Profile\WeightChart::render() has no return type specified. -::error file=app/Livewire/Recipe/Comment/Create.php,line=16,col=0::Property App\Livewire\Recipe\Comment\Create::$body has no type specified. -::error file=app/Livewire/Recipe/Comment/Create.php,line=18,col=0::Property App\Livewire\Recipe\Comment\Create::$grade has no type specified. -::error file=app/Livewire/Recipe/Comment/Create.php,line=20,col=0::Property App\Livewire\Recipe\Comment\Create::$isChecked has no type specified. -::error file=app/Livewire/Recipe/Comment/Create.php,line=22,col=0::Method App\Livewire\Recipe\Comment\Create::render() has no return type specified. -::error file=app/Livewire/Recipe/Comment/Create.php,line=27,col=0::Method App\Livewire\Recipe\Comment\Create::toggle() has no return type specified. -::error file=app/Livewire/Recipe/Comment/Create.php,line=32,col=0::Method App\Livewire\Recipe\Comment\Create::save() has no return type specified. -::error file=app/Livewire/Recipe/Comment/Show.php,line=14,col=0::Property App\Livewire\Recipe\Comment\Show::$listeners has no type specified. -::error file=app/Livewire/Recipe/Comment/Show.php,line=16,col=0::Method App\Livewire\Recipe\Comment\Show::render() has no return type specified. -::error file=app/Livewire/Recipe/Comment/Show.php,line=21,col=0::Method App\Livewire\Recipe\Comment\Show::toggleTabpanelState() has no return type specified. -::error file=app/Livewire/Recipe/Comment/Show.php,line=21,col=0::Method App\Livewire\Recipe\Comment\Show::toggleTabpanelState() has parameter $tabpanelName with no type specified. -::error file=app/Livewire/Recipe/Comment/Show.php,line=23,col=0::Method Illuminate\Support\Collection::map() invoked with 2 parameters, 1 required. -::error file=app/Livewire/Recipe/Comment/Upvote.php,line=12,col=0::Method App\Livewire\Recipe\Comment\Upvote::mount() has no return type specified. -::error file=app/Livewire/Recipe/Comment/Upvote.php,line=17,col=0::Method App\Livewire\Recipe\Comment\Upvote::render() has no return type specified. -::error file=app/Livewire/Recipe/Comment/Upvote.php,line=33,col=0::Method App\Livewire\Recipe\Comment\Upvote::upvote() has no return type specified. -::error file=app/Livewire/Recipe/Comment/Upvote.php,line=52,col=0::Method App\Livewire\Recipe\Comment\Upvote::downvote() has no return type specified. -::error file=app/Livewire/Recipe/Create.php,line=16,col=0::Property App\Livewire\Recipe\Create::$image has no type specified. -::error file=app/Livewire/Recipe/Create.php,line=18,col=0::Property App\Livewire\Recipe\Create::$state has no type specified. -::error file=app/Livewire/Recipe/Create.php,line=20,col=0::Property App\Livewire\Recipe\Create::$state_ingredient has no type specified. -::error file=app/Livewire/Recipe/Create.php,line=22,col=0::Property App\Livewire\Recipe\Create::$state_article has no type specified. -::error file=app/Livewire/Recipe/Create.php,line=24,col=0::Property App\Livewire\Recipe\Create::$tags has no type specified. -::error file=app/Livewire/Recipe/Create.php,line=26,col=0::Property App\Livewire\Recipe\Create::$title has no type specified. -::error file=app/Livewire/Recipe/Create.php,line=28,col=0::Property App\Livewire\Recipe\Create::$type has no type specified. -::error file=app/Livewire/Recipe/Create.php,line=30,col=0::Property App\Livewire\Recipe\Create::$video_url has no type specified. -::error file=app/Livewire/Recipe/Create.php,line=32,col=0::Property App\Livewire\Recipe\Create::$cooking_time has no type specified. -::error file=app/Livewire/Recipe/Create.php,line=34,col=0::Property App\Livewire\Recipe\Create::$description has no type specified. -::error file=app/Livewire/Recipe/Create.php,line=36,col=0::Property App\Livewire\Recipe\Create::$steps has no type specified. -::error file=app/Livewire/Recipe/Create.php,line=38,col=0::Property App\Livewire\Recipe\Create::$ingredients has no type specified. -::error file=app/Livewire/Recipe/Create.php,line=40,col=0::Property App\Livewire\Recipe\Create::$ingredients_name has no type specified. -::error file=app/Livewire/Recipe/Create.php,line=42,col=0::Property App\Livewire\Recipe\Create::$ingredients_portion has no type specified. -::error file=app/Livewire/Recipe/Create.php,line=44,col=0::Property App\Livewire\Recipe\Create::$ingredients_unit has no type specified. -::error file=app/Livewire/Recipe/Create.php,line=46,col=0::Property App\Livewire\Recipe\Create::$state_row has no type specified. -::error file=app/Livewire/Recipe/Create.php,line=48,col=0::Property App\Livewire\Recipe\Create::$listeners has no type specified. -::error file=app/Livewire/Recipe/Create.php,line=67,col=0::Method App\Livewire\Recipe\Create::removeIngredient() has no return type specified. -::error file=app/Livewire/Recipe/Create.php,line=67,col=0::Method App\Livewire\Recipe\Create::removeIngredient() has parameter $i with no type specified. -::error file=app/Livewire/Recipe/Create.php,line=74,col=0::Method App\Livewire\Recipe\Create::addStep() has no return type specified. -::error file=app/Livewire/Recipe/Create.php,line=79,col=0::Method App\Livewire\Recipe\Create::removeStep() has no return type specified. -::error file=app/Livewire/Recipe/Create.php,line=79,col=0::Method App\Livewire\Recipe\Create::removeStep() has parameter $i with no type specified. -::error file=app/Livewire/Recipe/Create.php,line=94,col=0::Method App\Livewire\Recipe\Create::parentComponentTagAdded() has no return type specified. -::error file=app/Livewire/Recipe/Create.php,line=101,col=0::Method App\Livewire\Recipe\Create::parentComponentTagRemoved() has no return type specified. -::error file=app/Livewire/Recipe/Create.php,line=101,col=0::Method App\Livewire\Recipe\Create::parentComponentTagRemoved() has parameter $tag with no type specified. -::error file=app/Livewire/Recipe/Create.php,line=109,col=0::Method App\Livewire\Recipe\Create::draft() has no return type specified. -::error file=app/Livewire/Recipe/Create.php,line=115,col=0::Method App\Livewire\Recipe\Create::preview() has no return type specified. -::error file=app/Livewire/Recipe/Create.php,line=123,col=0::Method App\Livewire\Recipe\Create::publish() has no return type specified. -::error file=app/Livewire/Recipe/Create.php,line=148,col=0::Method App\Livewire\Recipe\Create::render() has no return type specified. -::error file=app/Livewire/Recipe/Create.php,line=153,col=0::Method App\Livewire\Recipe\Create::rules() has no return type specified. -::error file=app/Livewire/Recipe/Create.php,line=165,col=0::Method App\Livewire\Recipe\Create::transformSteps() has no return type specified. -::error file=app/Livewire/Recipe/Create.php,line=165,col=0::Method App\Livewire\Recipe\Create::transformSteps() has parameter $steps with no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=16,col=0::Property App\Livewire\Recipe\Edit::$image has no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=18,col=0::Property App\Livewire\Recipe\Edit::$state has no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=20,col=0::Property App\Livewire\Recipe\Edit::$state_ingredient has no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=22,col=0::Property App\Livewire\Recipe\Edit::$state_article has no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=24,col=0::Property App\Livewire\Recipe\Edit::$type has no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=26,col=0::Property App\Livewire\Recipe\Edit::$tags has no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=28,col=0::Property App\Livewire\Recipe\Edit::$title has no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=30,col=0::Property App\Livewire\Recipe\Edit::$video_url has no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=32,col=0::Property App\Livewire\Recipe\Edit::$cooking_time has no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=34,col=0::Property App\Livewire\Recipe\Edit::$description has no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=36,col=0::Property App\Livewire\Recipe\Edit::$steps has no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=38,col=0::Property App\Livewire\Recipe\Edit::$ingredients has no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=40,col=0::Property App\Livewire\Recipe\Edit::$ingredients_name has no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=42,col=0::Property App\Livewire\Recipe\Edit::$ingredients_portion has no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=44,col=0::Property App\Livewire\Recipe\Edit::$ingredients_unit has no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=46,col=0::Property App\Livewire\Recipe\Edit::$state_row has no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=48,col=0::Property App\Livewire\Recipe\Edit::$listeners has no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=50,col=0::Method App\Livewire\Recipe\Edit::mount() has no return type specified. -::error file=app/Livewire/Recipe/Edit.php,line=52,col=0::Access to an undefined property App\Livewire\Recipe\Edit::$name. -::error file=app/Livewire/Recipe/Edit.php,line=52,col=0::Access to an undefined property App\Models\Recipe::$name. -::error file=app/Livewire/Recipe/Edit.php,line=61,col=0::Access to an undefined property App\Models\Recipe::$tags. -::error file=app/Livewire/Recipe/Edit.php,line=72,col=0::Method App\Livewire\Recipe\Edit::addIngredient() has no return type specified. -::error file=app/Livewire/Recipe/Edit.php,line=82,col=0::Method App\Livewire\Recipe\Edit::removeIngredient() has no return type specified. -::error file=app/Livewire/Recipe/Edit.php,line=82,col=0::Method App\Livewire\Recipe\Edit::removeIngredient() has parameter $i with no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=89,col=0::Method App\Livewire\Recipe\Edit::addStep() has no return type specified. -::error file=app/Livewire/Recipe/Edit.php,line=94,col=0::Method App\Livewire\Recipe\Edit::removeStep() has no return type specified. -::error file=app/Livewire/Recipe/Edit.php,line=94,col=0::Method App\Livewire\Recipe\Edit::removeStep() has parameter $i with no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=114,col=0::Method App\Livewire\Recipe\Edit::parentComponentTagAdded() has no return type specified. -::error file=app/Livewire/Recipe/Edit.php,line=119,col=0::Method App\Livewire\Recipe\Edit::parentComponentTagRemoved() has no return type specified. -::error file=app/Livewire/Recipe/Edit.php,line=119,col=0::Method App\Livewire\Recipe\Edit::parentComponentTagRemoved() has parameter $tag with no type specified. -::error file=app/Livewire/Recipe/Edit.php,line=125,col=0::Method App\Livewire\Recipe\Edit::draft() has no return type specified. -::error file=app/Livewire/Recipe/Edit.php,line=131,col=0::Method App\Livewire\Recipe\Edit::preview() has no return type specified. -::error file=app/Livewire/Recipe/Edit.php,line=137,col=0::Method App\Livewire\Recipe\Edit::publish() has no return type specified. -::error file=app/Livewire/Recipe/Edit.php,line=160,col=0::Method App\Livewire\Recipe\Edit::render() has no return type specified. -::error file=app/Livewire/Recipe/Edit.php,line=165,col=0::Method App\Livewire\Recipe\Edit::rules() has no return type specified. -::error file=app/Livewire/Recipe/Edit.php,line=177,col=0::Method App\Livewire\Recipe\Edit::transformSteps() has no return type specified. -::error file=app/Livewire/Recipe/Edit.php,line=177,col=0::Method App\Livewire\Recipe\Edit::transformSteps() has parameter $steps with no type specified. -::error file=app/Livewire/Recipe/Like.php,line=12,col=0::Property App\Livewire\Recipe\Like::$isIconOnly has no type specified. -::error file=app/Livewire/Recipe/Like.php,line=14,col=0::Method App\Livewire\Recipe\Like::mount() has no return type specified. -::error file=app/Livewire/Recipe/Like.php,line=19,col=0::Method App\Livewire\Recipe\Like::render() has no return type specified. -::error file=app/Livewire/Recipe/LikeCount.php,line=12,col=0::Property App\Livewire\Recipe\LikeCount::$listeners has no type specified. -::error file=app/Livewire/Recipe/LikeCount.php,line=14,col=0::Method App\Livewire\Recipe\LikeCount::mount() has no return type specified. -::error file=app/Livewire/Recipe/LikeCount.php,line=19,col=0::Method App\Livewire\Recipe\LikeCount::render() has no return type specified. -::error file=app/Livewire/Recipe/ListView.php,line=16,col=0::Property App\Livewire\Recipe\ListView::$search has no type specified. -::error file=app/Livewire/Recipe/ListView.php,line=18,col=0::Property App\Livewire\Recipe\ListView::$typeFilter has no type specified. -::error file=app/Livewire/Recipe/ListView.php,line=20,col=0::Property App\Livewire\Recipe\ListView::$tag has no type specified. -::error file=app/Livewire/Recipe/ListView.php,line=22,col=0::Property App\Livewire\Recipe\ListView::$author has no type specified. -::error file=app/Livewire/Recipe/ListView.php,line=24,col=0::Property App\Livewire\Recipe\ListView::$queryString has no type specified. -::error file=app/Livewire/Recipe/ListView.php,line=31,col=0::Method App\Livewire\Recipe\ListView::render() has no return type specified. -::error file=app/Livewire/Recipe/ListView.php,line=63,col=0::Method App\Livewire\Recipe\ListView::getTagsCollection() has no return type specified. -::error file=app/Livewire/Recipe/ListView.php,line=68,col=0::Access to an undefined property App\Models\Recipe::$tags. -::error file=app/Livewire/Registration/Step1.php,line=23,col=0::Property App\Livewire\Registration\Step1::$step has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=25,col=0::Property App\Livewire\Registration\Step1::$first_name has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=27,col=0::Property App\Livewire\Registration\Step1::$last_name has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=29,col=0::Property App\Livewire\Registration\Step1::$email has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=31,col=0::Property App\Livewire\Registration\Step1::$password has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=33,col=0::Property App\Livewire\Registration\Step1::$password_confirmation has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=35,col=0::Property App\Livewire\Registration\Step1::$birthdate has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=37,col=0::Property App\Livewire\Registration\Step1::$gender has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=39,col=0::Property App\Livewire\Registration\Step1::$country has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=41,col=0::Property App\Livewire\Registration\Step1::$city has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=43,col=0::Property App\Livewire\Registration\Step1::$lang has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=45,col=0::Property App\Livewire\Registration\Step1::$weight has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=47,col=0::Property App\Livewire\Registration\Step1::$height has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=49,col=0::Property App\Livewire\Registration\Step1::$chest_circumference has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=51,col=0::Property App\Livewire\Registration\Step1::$waist_circumference has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=53,col=0::Property App\Livewire\Registration\Step1::$hip_circumference has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=55,col=0::Property App\Livewire\Registration\Step1::$blood_pressure_up has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=57,col=0::Property App\Livewire\Registration\Step1::$blood_pressure_down has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=59,col=0::Property App\Livewire\Registration\Step1::$has_hypo has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=61,col=0::Property App\Livewire\Registration\Step1::$has_hyper has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=63,col=0::Property App\Livewire\Registration\Step1::$about_alergy has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=65,col=0::Property App\Livewire\Registration\Step1::$about_taking_pils has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=67,col=0::Property App\Livewire\Registration\Step1::$about_sport_hobbies has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=69,col=0::Property App\Livewire\Registration\Step1::$favorite_foods has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=71,col=0::Property App\Livewire\Registration\Step1::$unfavorite_foods has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=73,col=0::Property App\Livewire\Registration\Step1::$additional_info has no type specified. -::error file=app/Livewire/Registration/Step1.php,line=75,col=0::Method App\Livewire\Registration\Step1::mount() has no return type specified. -::error file=app/Livewire/Registration/Step1.php,line=75,col=0::Method App\Livewire\Registration\Step1::mount() has parameter $step with no type specified. -::error file=app/Livewire/Registration/Step1.php,line=82,col=0::Method App\Livewire\Registration\Step1::render() has no return type specified. -::error file=app/Livewire/Registration/Step1.php,line=88,col=0::Method App\Livewire\Registration\Step1::nextStep() has no return type specified. -::error file=app/Livewire/Registration/Step1.php,line=109,col=0::Method App\Livewire\Registration\Step1::skipStep() has no return type specified. -::error file=app/Livewire/Registration/Step1.php,line=126,col=0::Method App\Livewire\Registration\Step1::goBack() has no return type specified. -::error file=app/Livewire/Registration/Step1.php,line=128,col=0::Binary operation "-" between non-falsy-string and 1 results in an error. -::error file=app/Livewire/Registration/Step1.php,line=139,col=0::Method App\Livewire\Registration\Step1::finishRegistretion() has no return type specified. -::error file=app/Livewire/Registration/Step1.php,line=160,col=0::Method App\Livewire\Registration\Step1::getValidateRules() has no return type specified. -::error file=app/Livewire/Registration/Step1.php,line=160,col=0::Method App\Livewire\Registration\Step1::getValidateRules() has parameter $key with no type specified. -::error file=app/Livewire/Registration/Step1.php,line=202,col=0::Method App\Livewire\Registration\Step1::getValidateData() has no return type specified. -::error file=app/Livewire/Registration/Step1.php,line=202,col=0::Method App\Livewire\Registration\Step1::getValidateData() has parameter $key with no type specified. -::error file=app/Livewire/Registration/Step1.php,line=245,col=0::Method App\Livewire\Registration\Step1::getNextStep() has no return type specified. -::error file=app/Livewire/Registration/Step1.php,line=247,col=0::Binary operation "+" between non-falsy-string and 1 results in an error. -::error file=app/Livewire/TagsComponent.php,line=12,col=0::Property App\Livewire\TagsComponent::$tags has no type specified. -::error file=app/Livewire/TagsComponent.php,line=14,col=0::Property App\Livewire\TagsComponent::$parentComponent has no type specified. -::error file=app/Livewire/TagsComponent.php,line=18,col=0::Method App\Livewire\TagsComponent::mount() has no return type specified. -::error file=app/Livewire/TagsComponent.php,line=18,col=0::Method App\Livewire\TagsComponent::mount() has parameter $parentComponent with no type specified. -::error file=app/Livewire/TagsComponent.php,line=47,col=0::Method App\Livewire\TagsComponent::render() has no return type specified. -::error file=app/Livewire/User/AddCircumference.php,line=16,col=0::Property App\Livewire\User\AddCircumference::$chest_circumference has no type specified. -::error file=app/Livewire/User/AddCircumference.php,line=18,col=0::Property App\Livewire\User\AddCircumference::$waist_circumference has no type specified. -::error file=app/Livewire/User/AddCircumference.php,line=20,col=0::Property App\Livewire\User\AddCircumference::$hip_circumference has no type specified. -::error file=app/Livewire/User/AddCircumference.php,line=22,col=0::Method App\Livewire\User\AddCircumference::mount() has no return type specified. -::error file=app/Livewire/User/AddCircumference.php,line=27,col=0::Method App\Livewire\User\AddCircumference::render() has no return type specified. -::error file=app/Livewire/User/AddCircumference.php,line=32,col=0::Method App\Livewire\User\AddCircumference::add() has no return type specified. -::error file=app/Livewire/User/AddWeight.php,line=14,col=0::Property App\Livewire\User\AddWeight::$weight has no type specified. -::error file=app/Livewire/User/AddWeight.php,line=16,col=0::Method App\Livewire\User\AddWeight::mount() has no return type specified. -::error file=app/Livewire/User/AddWeight.php,line=21,col=0::Method App\Livewire\User\AddWeight::render() has no return type specified. -::error file=app/Livewire/User/AddWeight.php,line=26,col=0::Method App\Livewire\User\AddWeight::add() has no return type specified. -::error file=app/Models/BlogPost.php,line=22,col=0::Method App\Models\BlogPost::tags() has no return type specified. -::error file=app/Models/BlogPost.php,line=27,col=0::Method App\Models\BlogPost::author() has no return type specified. -::error file=app/Models/BlogPost.php,line=40,col=0::Method App\Models\BlogPost::comments() has no return type specified. -::error file=app/Models/BlogPost.php,line=54,col=0::Method App\Models\BlogPost::isLiked() should return bool but returns int. -::error file=app/Models/BlogPost.php,line=70,col=0::Method App\Models\BlogPost::scopeNoEagerLoads() has no return type specified. -::error file=app/Models/BlogPost.php,line=70,col=0::Method App\Models\BlogPost::scopeNoEagerLoads() has parameter $query with no type specified. -::error file=app/Models/BlogPost.php,line=75,col=0::Method App\Models\BlogPost::scopeContainsTag() has invalid return type App\Models\Builder. -::error file=app/Models/BlogPost.php,line=75,col=0::Method App\Models\BlogPost::scopeContainsTag() has parameter $query with no type specified. -::error file=app/Models/BlogPost.php,line=75,col=0::Method App\Models\BlogPost::scopeContainsTag() has parameter $tagString with no type specified. -::error file=app/Models/BlogPost.php,line=77,col=0::Call to static method of() on an unknown class App\Models\Str. -::error file=app/Models/BlogPostComment.php,line=13,col=0::Method App\Models\BlogPostComment::author() has no return type specified. -::error file=app/Models/BlogPostComment.php,line=18,col=0::Method App\Models\BlogPostComment::blog_post() has no return type specified. -::error file=app/Models/BlogPostComment.php,line=32,col=0::Method App\Models\BlogPostComment::isUpVoted() should return bool but returns int. -::error file=app/Models/BlogPostComment.php,line=45,col=0::Method App\Models\BlogPostComment::isDownVoted() should return bool but returns int. -::error file=app/Models/BlogPostCommentUpvote.php,line=18,col=0::Method App\Models\BlogPostCommentUpvote::author() has no return type specified. -::error file=app/Models/BlogPostCommentUpvote.php,line=23,col=0::Method App\Models\BlogPostCommentUpvote::blog_post_comment() has no return type specified. -::error file=app/Models/BlogPostCommentUpvote.php,line=28,col=0::Method App\Models\BlogPostCommentUpvote::scopeForBlogPostCommentsUpVote() has no return type specified. -::error file=app/Models/BlogPostCommentUpvote.php,line=28,col=0::Method App\Models\BlogPostCommentUpvote::scopeForBlogPostCommentsUpVote() has parameter $query with no type specified. -::error file=app/Models/BlogPostCommentUpvote.php,line=33,col=0::Method App\Models\BlogPostCommentUpvote::scopeForBlogPostCommentsDownVote() has no return type specified. -::error file=app/Models/BlogPostCommentUpvote.php,line=33,col=0::Method App\Models\BlogPostCommentUpvote::scopeForBlogPostCommentsDownVote() has parameter $query with no type specified. -::error file=app/Models/BlogPostLike.php,line=16,col=0::Method App\Models\BlogPostLike::scopeForBlogPost() has no return type specified. -::error file=app/Models/BlogPostLike.php,line=16,col=0::Method App\Models\BlogPostLike::scopeForBlogPost() has parameter $query with no type specified. -::error file=app/Models/Chat.php,line=14,col=0::Method App\Models\Chat::scopeWithLastUserMessage() has no return type specified. -::error file=app/Models/Chat.php,line=23,col=0::Method App\Models\Chat::scopeWithLastTenMessages() has no return type specified. -::error file=app/Models/Chat.php,line=36,col=0::Method App\Models\Chat::scopeWithLastMessage() has no return type specified. -::error file=app/Models/ChosenDiet.php,line=20,col=0::Method App\Models\ChosenDiet::getActorId() has no return type specified. -::error file=app/Models/ChosenDiet.php,line=25,col=0::Method App\Models\ChosenDiet::user() has no return type specified. -::error file=app/Models/ChosenDiet.php,line=30,col=0::Method App\Models\ChosenDiet::diet() has no return type specified. -::error file=app/Models/ChosenDiet.php,line=35,col=0::Method App\Models\ChosenDiet::getGraph() has no return type specified. -::error file=app/Models/ChosenDiet.php,line=40,col=0::Method App\Models\ChosenDiet::saveBeforeTransition() has no return type specified. -::error file=app/Models/ChosenPlan.php,line=12,col=0::Method App\Models\ChosenPlan::user() has no return type specified. -::error file=app/Models/CircumferenceMeasure.php,line=14,col=0::Method App\Models\CircumferenceMeasure::user() has no return type specified. -::error file=app/Models/CommentUpvote.php,line=18,col=0::Method App\Models\CommentUpvote::plan_comment() has no return type specified. -::error file=app/Models/CommentUpvote.php,line=23,col=0::Method App\Models\CommentUpvote::author() has no return type specified. -::error file=app/Models/CommentUpvote.php,line=28,col=0::Method App\Models\CommentUpvote::scopeForPlanCommentsUpVote() has no return type specified. -::error file=app/Models/CommentUpvote.php,line=28,col=0::Method App\Models\CommentUpvote::scopeForPlanCommentsUpVote() has parameter $query with no type specified. -::error file=app/Models/CommentUpvote.php,line=33,col=0::Method App\Models\CommentUpvote::scopeForPlanCommentsDownVote() has no return type specified. -::error file=app/Models/CommentUpvote.php,line=33,col=0::Method App\Models\CommentUpvote::scopeForPlanCommentsDownVote() has parameter $query with no type specified. -::error file=app/Models/ConsultantEducation.php,line=14,col=0::Method App\Models\ConsultantEducation::user() has no return type specified. -::error file=app/Models/Diary.php,line=16,col=0::Method App\Models\Diary::user() has no return type specified. -::error file=app/Models/Diary.php,line=23,col=0::Method App\Models\Diary::meals() has no return type specified. -::error file=app/Models/Diary.php,line=28,col=0::Method App\Models\Diary::scopeUserToDayItem() has no return type specified. -::error file=app/Models/Diary.php,line=28,col=0::Method App\Models\Diary::scopeUserToDayItem() has parameter $query with no type specified. -::error file=app/Models/Diary.php,line=28,col=0::Method App\Models\Diary::scopeUserToDayItem() has parameter $userId with no type specified. -::error file=app/Models/Diary.php,line=35,col=0::Method App\Models\Diary::consultant_comments() has no return type specified. -::error file=app/Models/Diet.php,line=23,col=0::Property App\Models\Diet::$allowedDietTypes has no type specified. -::error file=app/Models/Diet.php,line=30,col=0::Method App\Models\Diet::author() has no return type specified. -::error file=app/Models/Diet.php,line=43,col=0::Method App\Models\Diet::comments() has no return type specified. -::error file=app/Models/Diet.php,line=56,col=0::Method App\Models\Diet::isLiked() should return bool but returns int. -::error file=app/Models/Diet.php,line=89,col=0::Method App\Models\Diet::choses() has no return type specified. -::error file=app/Models/Diet.php,line=94,col=0::Method App\Models\Diet::scopeDurationMin() has parameter $days with no type specified. -::error file=app/Models/Diet.php,line=99,col=0::Method App\Models\Diet::scopeDurationMax() has parameter $days with no type specified. -::error file=app/Models/Diet.php,line=104,col=0::Method App\Models\Diet::scopeInvolvedMin() has parameter $number with no type specified. -::error file=app/Models/Diet.php,line=109,col=0::Method App\Models\Diet::scopeInvolvedMax() has parameter $number with no type specified. -::error file=app/Models/Diet.php,line=114,col=0::Method App\Models\Diet::scopeContainsType() has parameter $types with no type specified. -::error file=app/Models/Diet.php,line=130,col=0::Method App\Models\Diet::unserializeOptionsArr() has no return type specified. -::error file=app/Models/Diet.php,line=130,col=0::Method App\Models\Diet::unserializeOptionsArr() has parameter $str with no type specified. -::error file=app/Models/DietComment.php,line=13,col=0::Method App\Models\DietComment::author() has no return type specified. -::error file=app/Models/DietComment.php,line=18,col=0::Method App\Models\DietComment::diet() has no return type specified. -::error file=app/Models/DietComment.php,line=31,col=0::Method App\Models\DietComment::isUpVoted() should return bool but returns int. -::error file=app/Models/DietComment.php,line=44,col=0::Method App\Models\DietComment::isDownVoted() should return bool but returns int. -::error file=app/Models/DietCommentUpvote.php,line=18,col=0::Method App\Models\DietCommentUpvote::author() has no return type specified. -::error file=app/Models/DietCommentUpvote.php,line=23,col=0::Method App\Models\DietCommentUpvote::diet_comment() has no return type specified. -::error file=app/Models/DietCommentUpvote.php,line=28,col=0::Method App\Models\DietCommentUpvote::scopeForDietCommentsUpVote() has no return type specified. -::error file=app/Models/DietCommentUpvote.php,line=28,col=0::Method App\Models\DietCommentUpvote::scopeForDietCommentsUpVote() has parameter $query with no type specified. -::error file=app/Models/DietCommentUpvote.php,line=33,col=0::Method App\Models\DietCommentUpvote::scopeForDietCommentsDownVote() has no return type specified. -::error file=app/Models/DietCommentUpvote.php,line=33,col=0::Method App\Models\DietCommentUpvote::scopeForDietCommentsDownVote() has parameter $query with no type specified. -::error file=app/Models/DietLike.php,line=16,col=0::Method App\Models\DietLike::scopeForDiet() has no return type specified. -::error file=app/Models/DietLike.php,line=16,col=0::Method App\Models\DietLike::scopeForDiet() has parameter $query with no type specified. -::error file=app/Models/Meal.php,line=14,col=0::Method App\Models\Meal::user() has no return type specified. -::error file=app/Models/Meal.php,line=21,col=0::Method App\Models\Meal::diary() has no return type specified. -::error file=app/Models/Meal.php,line=26,col=0::Method App\Models\Meal::portions() has no return type specified. -::error file=app/Models/Meal.php,line=31,col=0::Method App\Models\Meal::photos() has no return type specified. -::error file=app/Models/Plan.php,line=36,col=0::Property App\Models\Plan::$presenter has no type specified. -::error file=app/Models/Plan.php,line=59,col=0::Method App\Models\Plan::author() has no return type specified. -::error file=app/Models/Plan.php,line=64,col=0::Method App\Models\Plan::comments() has no return type specified. -::error file=app/Models/Plan.php,line=77,col=0::Method App\Models\Plan::isLiked() should return bool but returns int. -::error file=app/Models/Plan.php,line=137,col=0::Method App\Models\Plan::scopeNegativeComments() has no return type specified. -::error file=app/Models/Plan.php,line=142,col=0::Method App\Models\Plan::scopePositiveComments() has no return type specified. -::error file=app/Models/Plan.php,line=147,col=0::Method App\Models\Plan::unserializeOptionsObj() has no return type specified. -::error file=app/Models/Plan.php,line=147,col=0::Method App\Models\Plan::unserializeOptionsObj() has parameter $str with no type specified. -::error file=app/Models/Plan.php,line=147,col=0::Method App\Models\Plan::unserializeOptionsObj() is unused. -::error file=app/Models/Plan.php,line=156,col=0::Method App\Models\Plan::unserializeOptionsArr() has no return type specified. -::error file=app/Models/Plan.php,line=156,col=0::Method App\Models\Plan::unserializeOptionsArr() has parameter $str with no type specified. -::error file=app/Models/Plan.php,line=156,col=0::Method App\Models\Plan::unserializeOptionsArr() is unused. -::error file=app/Models/PlanComment.php,line=13,col=0::Method App\Models\PlanComment::author() has no return type specified. -::error file=app/Models/PlanComment.php,line=18,col=0::Method App\Models\PlanComment::plan() has no return type specified. -::error file=app/Models/PlanComment.php,line=31,col=0::Method App\Models\PlanComment::isUpVoted() should return bool but returns int. -::error file=app/Models/PlanComment.php,line=44,col=0::Method App\Models\PlanComment::isDownVoted() should return bool but returns int. -::error file=app/Models/PlanLike.php,line=16,col=0::Method App\Models\PlanLike::scopeForPlan() has no return type specified. -::error file=app/Models/PlanLike.php,line=16,col=0::Method App\Models\PlanLike::scopeForPlan() has parameter $query with no type specified. -::error file=app/Models/Portion.php,line=14,col=0::Method App\Models\Portion::user() has no return type specified. -::error file=app/Models/ProductGroup.php,line=14,col=0::Method App\Models\ProductGroup::product_nutritional_value() has no return type specified. -::error file=app/Models/ProductNutritionalValue.php,line=14,col=0::Method App\Models\ProductNutritionalValue::product_group() has no return type specified. -::error file=app/Models/Recipe.php,line=53,col=0::Method App\Models\Recipe::tags() has no return type specified. -::error file=app/Models/Recipe.php,line=76,col=0::Method App\Models\Recipe::comments() has no return type specified. -::error file=app/Models/Recipe.php,line=86,col=0::Method App\Models\Recipe::scopeNegativeComments() has no return type specified. -::error file=app/Models/Recipe.php,line=91,col=0::Method App\Models\Recipe::scopePositiveComments() has no return type specified. -::error file=app/Models/Recipe.php,line=100,col=0::Method App\Models\Recipe::isLiked() should return bool but returns int. -::error file=app/Models/Recipe.php,line=116,col=0::Method App\Models\Recipe::scopeContainsTag() has parameter $query with no type specified. -::error file=app/Models/Recipe.php,line=116,col=0::Method App\Models\Recipe::scopeContainsTag() has parameter $tagString with no type specified. -::error file=app/Models/Recipe.php,line=118,col=0::Call to static method of() on an unknown class App\Models\Str. -::error file=app/Models/RecipeComment.php,line=13,col=0::Method App\Models\RecipeComment::author() has no return type specified. -::error file=app/Models/RecipeComment.php,line=18,col=0::Method App\Models\RecipeComment::recipe() has no return type specified. -::error file=app/Models/RecipeComment.php,line=32,col=0::Method App\Models\RecipeComment::isUpVoted() should return bool but returns int. -::error file=app/Models/RecipeComment.php,line=45,col=0::Method App\Models\RecipeComment::isDownVoted() should return bool but returns int. -::error file=app/Models/RecipeCommentUpvote.php,line=18,col=0::Method App\Models\RecipeCommentUpvote::author() has no return type specified. -::error file=app/Models/RecipeCommentUpvote.php,line=23,col=0::Method App\Models\RecipeCommentUpvote::recipe_comment() has no return type specified. -::error file=app/Models/RecipeCommentUpvote.php,line=28,col=0::Method App\Models\RecipeCommentUpvote::scopeForRecipeCommentsUpVote() has no return type specified. -::error file=app/Models/RecipeCommentUpvote.php,line=28,col=0::Method App\Models\RecipeCommentUpvote::scopeForRecipeCommentsUpVote() has parameter $query with no type specified. -::error file=app/Models/RecipeCommentUpvote.php,line=33,col=0::Method App\Models\RecipeCommentUpvote::scopeForRecipeCommentsDownVote() has no return type specified. -::error file=app/Models/RecipeCommentUpvote.php,line=33,col=0::Method App\Models\RecipeCommentUpvote::scopeForRecipeCommentsDownVote() has parameter $query with no type specified. -::error file=app/Models/RecipeLike.php,line=16,col=0::Method App\Models\RecipeLike::scopeForRecipe() has no return type specified. -::error file=app/Models/RecipeLike.php,line=16,col=0::Method App\Models\RecipeLike::scopeForRecipe() has parameter $query with no type specified. -::error file=app/Models/Tag.php,line=16,col=0::Method App\Models\Tag::blogPosts() has no return type specified. -::error file=app/Models/Tag.php,line=21,col=0::Method App\Models\Tag::recipes() has no return type specified. -::error file=app/Models/UserAttachment.php,line=14,col=0::Method App\Models\UserAttachment::user() has no return type specified. -::error file=app/Models/UserAttachment.php,line=19,col=0::Method App\Models\UserAttachment::scopeCerts() has no return type specified. -::error file=app/Models/UserAttachment.php,line=19,col=0::Method App\Models\UserAttachment::scopeCerts() has parameter $query with no type specified. -::error file=app/Models/UserAttachment.php,line=24,col=0::Method App\Models\UserAttachment::meals() has no return type specified. -::error file=app/Models/UserDetailz.php,line=14,col=0::Method App\Models\UserDetailz::user() has no return type specified. -::error file=app/Models/WeightMeasure.php,line=14,col=0::Method App\Models\WeightMeasure::user() has no return type specified. -::error file=app/Notifications/ConsultantRequestStarted.php,line=15,col=0::Property App\Notifications\ConsultantRequestStarted::$education is never read, only written. -::error file=app/Notifications/DietStarted.php,line=14,col=0::Property App\Notifications\DietStarted::$chosenDiet has no type specified. -::error file=app/Notifications/DietStarted.php,line=21,col=0::Method App\Notifications\DietStarted::__construct() has parameter $chosenDiet with no type specified. -::error file=app/Presenters/PlanPresenter.php,line=10,col=0::Method App\Presenters\PlanPresenter::getAuthorPhoto() has no return type specified. -::error file=app/Presenters/PlanPresenter.php,line=17,col=0::Method App\Presenters\PlanPresenter::getAuthor() has no return type specified. -::error file=app/Presenters/PlanPresenter.php,line=19,col=0::Access to an undefined property App\Presenters\PlanPresenter::$author. -::error file=app/Rules/MinWords.php,line=9,col=0::Property App\Rules\MinWords::$minWords has no type specified. -::error file=app/Rules/MinWords.php,line=11,col=0::Method App\Rules\MinWords::__construct() has parameter $minWords with no type specified. -::error file=app/Services/FeedService.php,line=13,col=0::Method App\Services\FeedService::showActualFeed() has no return type specified. -::error file=app/Services/FeedService.php,line=46,col=0::Parameter #1 $query of static method Illuminate\Database\Connection::select() expects string, Illuminate\Contracts\Database\Query\Expression given. -::error file=app/Services/FeedService.php,line=65,col=0::Parameter #1 ...$values of method Illuminate\Support\Collection<(int|string),App\Models\BlogPost|Illuminate\Support\Collection|null>::push() expects App\Models\BlogPost|Illuminate\Support\Collection|null, App\Models\Recipe|null given. -::error file=app/Services/FeedService.php,line=66,col=0::Parameter #1 ...$values of method Illuminate\Support\Collection<(int|string),App\Models\BlogPost|Illuminate\Support\Collection|null>::push() expects App\Models\BlogPost|Illuminate\Support\Collection|null, App\Models\Recipe|null given. -::error file=config/rich-text-laravel.php,line=14,col=0::Class Tonysm\RichTextLaravel\Models\RichText not found. -::error file=config/state-machine.php,line=6,col=0::Class App\Article not found. -::error file=database/factories/BlogPostFactory.php,line=24,col=0::Method Faker\Generator::image() invoked with 9 parameters, 0-8 required. -::error file=database/factories/BlogPostFactory.php,line=38,col=0::Method Database\Factories\BlogPostFactory::some() has no return type specified. -::error file=database/factories/BlogPostFactory.php,line=40,col=0::Call to static method orderBy() on an unknown class Database\Factories\User. -::error file=database/factories/DietFactory.php,line=56,col=0::Call to an undefined method Faker\Generator::foodName(). -::error file=database/factories/DietFactory.php,line=68,col=0::Call to an undefined method Faker\Generator::foodName(). -::error file=database/factories/DietFactory.php,line=69,col=0::Call to an undefined method Faker\Generator::beverageName(). -::error file=database/factories/DietFactory.php,line=70,col=0::Call to an undefined method Faker\Generator::dairyName(). -::error file=database/factories/DietFactory.php,line=71,col=0::Call to an undefined method Faker\Generator::vegetableName(). -::error file=database/factories/DietFactory.php,line=72,col=0::Call to an undefined method Faker\Generator::fruitName(). -::error file=database/factories/DietFactory.php,line=73,col=0::Call to an undefined method Faker\Generator::meatName(). -::error file=database/factories/DietFactory.php,line=74,col=0::Call to an undefined method Faker\Generator::sauceName(). -::error file=database/factories/PlanFactory.php,line=37,col=0::Call to an undefined method Faker\Generator::fruitName(). -::error file=database/factories/PlanFactory.php,line=37,col=0::Call to an undefined method Faker\Generator::meatName(). -::error file=database/factories/PlanFactory.php,line=37,col=0::Call to an undefined method Faker\Generator::sauceName(). -::error file=database/factories/PlanFactory.php,line=39,col=0::Call to an undefined method Faker\Generator::foodName(). -::error file=database/factories/PlanFactory.php,line=44,col=0::Call to an undefined method Faker\Generator::fruitName(). -::error file=database/factories/PlanFactory.php,line=44,col=0::Call to an undefined method Faker\Generator::meatName(). -::error file=database/factories/PlanFactory.php,line=44,col=0::Call to an undefined method Faker\Generator::sauceName(). -::error file=database/factories/PlanFactory.php,line=46,col=0::Call to an undefined method Faker\Generator::foodName(). -::error file=database/factories/PlanFactory.php,line=51,col=0::Call to an undefined method Faker\Generator::fruitName(). -::error file=database/factories/PlanFactory.php,line=51,col=0::Call to an undefined method Faker\Generator::meatName(). -::error file=database/factories/PlanFactory.php,line=51,col=0::Call to an undefined method Faker\Generator::sauceName(). -::error file=database/factories/PlanFactory.php,line=53,col=0::Call to an undefined method Faker\Generator::foodName(). -::error file=database/factories/PlanFactory.php,line=58,col=0::Call to an undefined method Faker\Generator::foodName(). -::error file=database/factories/PlanFactory.php,line=71,col=0::Method Database\Factories\PlanFactory::generateImageFile() has no return type specified. -::error file=database/factories/RecipeFactory.php,line=29,col=0::Call to an undefined method Faker\Generator::foodName(). -::error file=database/factories/RecipeFactory.php,line=37,col=0::Call to an undefined method Faker\Generator::youtubeRandomUri(). -::error file=database/factories/RecipeFactory.php,line=41,col=0::Method Database\Factories\RecipeFactory::generateImageFile() has no return type specified. -::error file=database/factories/RecipeFactory.php,line=56,col=0::Call to an undefined method Faker\Generator::foodName(). -::error file=database/factories/RecipeFactory.php,line=70,col=0::Method Database\Factories\RecipeFactory::createQuentitySteps() has no return type specified. -::error file=database/factories/RecipeFactory.php,line=70,col=0::Method Database\Factories\RecipeFactory::createQuentitySteps() has parameter $count with no type specified. -::error file=database/factories/RecipeFactory.php,line=81,col=0::Method Database\Factories\RecipeFactory::createQuentityIngredients() has no return type specified. -::error file=database/factories/RecipeFactory.php,line=81,col=0::Method Database\Factories\RecipeFactory::createQuentityIngredients() has parameter $count with no type specified. -::error file=database/factories/TagFactory.php,line=25,col=0::Call to an undefined method Faker\Generator::foodName(). -::error file=database/factories/UserFactory.php,line=59,col=0::Call to static method factory() on an unknown class App\Models\Team. -::error file=database/migrations/2022_06_30_090341_create_rich_texts_table.php,line=9,col=0::Method class@anonymous/database/migrations/2022_06_30_090341_create_rich_texts_table.php:7::up() has no return type specified. -::error file=database/migrations/2022_06_30_090341_create_rich_texts_table.php,line=22,col=0::Method class@anonymous/database/migrations/2022_06_30_090341_create_rich_texts_table.php:7::down() has no return type specified. -::error file=database/migrations/2022_09_06_115121_create_views_table.php,line=30,col=0::Property CreateViewsTable::$schema (Illuminate\Support\Facades\Schema) does not accept Illuminate\Database\Schema\Builder. -::error file=database/migrations/2023_07_26_145818_create_product_groups_table.php,line=19,col=0::Parameter #1 $value of method Illuminate\Database\Schema\ColumnDefinition::nullable() expects bool, string given. -::error file=database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php,line=27,col=0::Parameter #1 $value of method Illuminate\Database\Schema\ColumnDefinition::nullable() expects bool, int given. -::error file=database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php,line=28,col=0::Parameter #1 $value of method Illuminate\Database\Schema\ColumnDefinition::nullable() expects bool, int given. -::error file=database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php,line=29,col=0::Parameter #1 $value of method Illuminate\Database\Schema\ColumnDefinition::nullable() expects bool, int given. -::error file=database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php,line=30,col=0::Parameter #1 $value of method Illuminate\Database\Schema\ColumnDefinition::nullable() expects bool, int given. -::error file=database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php,line=31,col=0::Parameter #1 $value of method Illuminate\Database\Schema\ColumnDefinition::nullable() expects bool, int given. -::error file=database/seeders/RecipeCommentSeeder.php,line=29,col=0::Call to an undefined method App\Models\PlanComment::recipe(). -::error file=routes/console.php,line=18,col=0::Undefined variable: $this -::error file=tests/Feature/ApiTokenPermissionsTest.php,line=22,col=0::Unreachable statement - code above always terminates. -::error file=tests/Feature/ApiTokenPermissionsTest.php,line=43,col=0::Call to an undefined method Illuminate\Database\Eloquent\Model::can(). -::error file=tests/Feature/ApiTokenPermissionsTest.php,line=44,col=0::Call to an undefined method Illuminate\Database\Eloquent\Model::can(). -::error file=tests/Feature/ApiTokenPermissionsTest.php,line=45,col=0::Call to an undefined method Illuminate\Database\Eloquent\Model::can(). -::error file=tests/Feature/CreateApiTokenTest.php,line=21,col=0::Unreachable statement - code above always terminates. -::error file=tests/Feature/CreateApiTokenTest.php,line=37,col=0::Access to an undefined property Illuminate\Database\Eloquent\Model::$name. -::error file=tests/Feature/CreateApiTokenTest.php,line=38,col=0::Call to an undefined method Illuminate\Database\Eloquent\Model::can(). -::error file=tests/Feature/CreateApiTokenTest.php,line=39,col=0::Call to an undefined method Illuminate\Database\Eloquent\Model::can(). -::error file=tests/Feature/DeleteAccountTest.php,line=21,col=0::Unreachable statement - code above always terminates. -::error file=tests/Feature/DeleteAccountTest.php,line=38,col=0::Unreachable statement - code above always terminates. -::error file=tests/Feature/DeleteApiTokenTest.php,line=22,col=0::Unreachable statement - code above always terminates. -::error file=tests/Feature/DeleteApiTokenTest.php,line=34,col=0::Access to an undefined property Illuminate\Database\Eloquent\Model::$id. -::error file=tests/Feature/EmailVerificationTest.php,line=23,col=0::Unreachable statement - code above always terminates. -::error file=tests/Feature/EmailVerificationTest.php,line=38,col=0::Unreachable statement - code above always terminates. -::error file=tests/Feature/EmailVerificationTest.php,line=64,col=0::Unreachable statement - code above always terminates. -::error file=tests/Feature/MealFormTest.php,line=12,col=0::Method Tests\Feature\MealFormTest::diary_creation_page_contains_livewire_component() has no return type specified. -::error file=tests/Feature/MealFormTest.php,line=19,col=0::Call to an undefined method Illuminate\Testing\TestResponse::assertSeeLivewire(). -::error file=tests/Feature/MealFormTest.php,line=23,col=0::Method Tests\Feature\MealFormTest::meal_form_productName_is_required() has no return type specified. -::error file=tests/Feature/MealFormTest.php,line=47,col=0::Method Tests\Feature\MealFormTest::meal_form_add_portion() has no return type specified. -::error file=tests/Feature/PasswordResetTest.php,line=21,col=0::Unreachable statement - code above always terminates. -::error file=tests/Feature/PasswordResetTest.php,line=34,col=0::Unreachable statement - code above always terminates. -::error file=tests/Feature/PasswordResetTest.php,line=53,col=0::Unreachable statement - code above always terminates. -::error file=tests/Feature/PasswordResetTest.php,line=78,col=0::Unreachable statement - code above always terminates. -::error file=tests/Feature/Plan/CreateTest.php,line=19,col=0::Property Tests\Feature\Plan\CreateTest::$image has no type specified. -::error file=tests/Feature/Plan/CreateTest.php,line=21,col=0::Property Tests\Feature\Plan\CreateTest::$plan has no type specified. -::error file=tests/Feature/Plan/CreateTest.php,line=37,col=0::Method Tests\Feature\Plan\CreateTest::test_show_form_create_plan() has no return type specified. -::error file=tests/Feature/Plan/EditTest.php,line=18,col=0::Property Tests\Feature\Plan\EditTest::$image has no type specified. -::error file=tests/Feature/Plan/EditTest.php,line=35,col=0::Method Tests\Feature\Plan\EditTest::test_show_form_edit_plan() has no return type specified. -::error file=tests/Feature/Plan/IndexTest.php,line=14,col=0::Property Tests\Feature\Plan\IndexTest::$plan has no type specified. -::error file=tests/Feature/Plan/IndexTest.php,line=14,col=0::Property Tests\Feature\Plan\IndexTest::$plan is never read, only written. -::error file=tests/Feature/Plan/IndexTest.php,line=26,col=0::Method Tests\Feature\Plan\IndexTest::test_index_page_success() has no return type specified. -::error file=tests/Feature/Plan/ShowTest.php,line=17,col=0::Property Tests\Feature\Plan\ShowTest::$plan has no type specified. -::error file=tests/Feature/Plan/ShowTest.php,line=29,col=0::Method Tests\Feature\Plan\ShowTest::test_show_page_success() has no return type specified. -::error file=tests/Feature/ProfileInformationTest.php,line=21,col=0::Access to an undefined property Livewire\Features\SupportTesting\Testable::$state. -::error file=tests/Feature/ProfileInformationTest.php,line=22,col=0::Access to an undefined property Livewire\Features\SupportTesting\Testable::$state. -::error file=tests/Feature/Recipe/CreateTest.php,line=25,col=0::Property Tests\Feature\Recipe\CreateTest::$image has no type specified. -::error file=tests/Feature/Recipe/CreateTest.php,line=27,col=0::Property Tests\Feature\Recipe\CreateTest::$steps has no type specified. -::error file=tests/Feature/Recipe/CreateTest.php,line=27,col=0::Property Tests\Feature\Recipe\CreateTest::$steps is unused. -::error file=tests/Feature/Recipe/CreateTest.php,line=38,col=0::Property Tests\Feature\Recipe\CreateTest::$recipe (App\Models\Recipe) does not accept App\Models\Plan. -::error file=tests/Feature/Recipe/EditTest.php,line=53,col=0::Property Tests\Feature\Recipe\EditTest::$recipe (App\Models\Recipe) does not accept App\Models\Plan. -::error file=tests/Feature/Recipe/EditTest.php,line=58,col=0::Access to an undefined property App\Models\Plan::$title. -::error file=tests/Feature/Recipe/EditTest.php,line=59,col=0::Access to an undefined property App\Models\Plan::$title. -::error file=tests/Feature/Recipe/EditTest.php,line=63,col=0::Access to an undefined property App\Models\Plan::$cooking_time. -::error file=tests/Feature/Recipe/EditTest.php,line=64,col=0::Access to an undefined property App\Models\Plan::$cooking_time. -::error file=tests/Feature/Recipe/EditTest.php,line=65,col=0::Access to an undefined property App\Models\Plan::$ingredients. -::error file=tests/Feature/Recipe/EditTest.php,line=66,col=0::Access to an undefined property App\Models\Plan::$ingredients. -::error file=tests/Feature/Recipe/EditTest.php,line=69,col=0::Access to an undefined property App\Models\Plan::$description. -::error file=tests/Feature/Recipe/EditTest.php,line=70,col=0::Access to an undefined property App\Models\Plan::$description. -::error file=tests/Feature/Recipe/EditTest.php,line=71,col=0::Access to an undefined property App\Models\Plan::$video_url. -::error file=tests/Feature/Recipe/EditTest.php,line=72,col=0::Access to an undefined property App\Models\Plan::$video_url. -::error file=tests/Feature/Recipe/EditTest.php,line=84,col=0::Access to an undefined property App\Models\Plan::$title. -::error file=tests/Feature/Recipe/EditTest.php,line=86,col=0::Access to an undefined property App\Models\Plan::$cooking_time. -::error file=tests/Feature/Recipe/EditTest.php,line=87,col=0::Access to an undefined property App\Models\Plan::$ingredients. -::error file=tests/Feature/Recipe/EditTest.php,line=89,col=0::Access to an undefined property App\Models\Plan::$description. -::error file=tests/Feature/Recipe/EditTest.php,line=90,col=0::Access to an undefined property App\Models\Plan::$video_url. -::error file=tests/Feature/Recipe/EditTest.php,line=101,col=0::Property Tests\Feature\Recipe\EditTest::$recipe (App\Models\Recipe) does not accept App\Models\Plan. -::error file=tests/Feature/Recipe/EditTest.php,line=106,col=0::Access to an undefined property App\Models\Plan::$title. -::error file=tests/Feature/Recipe/EditTest.php,line=107,col=0::Access to an undefined property App\Models\Plan::$title. -::error file=tests/Feature/Recipe/EditTest.php,line=111,col=0::Access to an undefined property App\Models\Plan::$cooking_time. -::error file=tests/Feature/Recipe/EditTest.php,line=112,col=0::Access to an undefined property App\Models\Plan::$cooking_time. -::error file=tests/Feature/Recipe/EditTest.php,line=113,col=0::Access to an undefined property App\Models\Plan::$ingredients. -::error file=tests/Feature/Recipe/EditTest.php,line=114,col=0::Access to an undefined property App\Models\Plan::$ingredients. -::error file=tests/Feature/Recipe/EditTest.php,line=117,col=0::Access to an undefined property App\Models\Plan::$description. -::error file=tests/Feature/Recipe/EditTest.php,line=118,col=0::Access to an undefined property App\Models\Plan::$description. -::error file=tests/Feature/Recipe/EditTest.php,line=119,col=0::Access to an undefined property App\Models\Plan::$video_url. -::error file=tests/Feature/Recipe/EditTest.php,line=120,col=0::Access to an undefined property App\Models\Plan::$video_url. -::error file=tests/Feature/Recipe/EditTest.php,line=131,col=0::Access to an undefined property App\Models\Plan::$title. -::error file=tests/Feature/Recipe/EditTest.php,line=133,col=0::Access to an undefined property App\Models\Plan::$cooking_time. -::error file=tests/Feature/Recipe/EditTest.php,line=134,col=0::Access to an undefined property App\Models\Plan::$ingredients. -::error file=tests/Feature/Recipe/EditTest.php,line=136,col=0::Access to an undefined property App\Models\Plan::$description. -::error file=tests/Feature/Recipe/EditTest.php,line=137,col=0::Access to an undefined property App\Models\Plan::$video_url. -::error file=tests/Feature/Recipe/EditTest.php,line=147,col=0::Property Tests\Feature\Recipe\EditTest::$recipe (App\Models\Recipe) does not accept App\Models\Plan. -::error file=tests/Feature/Recipe/EditTest.php,line=152,col=0::Access to an undefined property App\Models\Plan::$title. -::error file=tests/Feature/Recipe/EditTest.php,line=153,col=0::Access to an undefined property App\Models\Plan::$title. -::error file=tests/Feature/Recipe/EditTest.php,line=157,col=0::Access to an undefined property App\Models\Plan::$cooking_time. -::error file=tests/Feature/Recipe/EditTest.php,line=158,col=0::Access to an undefined property App\Models\Plan::$cooking_time. -::error file=tests/Feature/Recipe/EditTest.php,line=159,col=0::Access to an undefined property App\Models\Plan::$ingredients. -::error file=tests/Feature/Recipe/EditTest.php,line=160,col=0::Access to an undefined property App\Models\Plan::$ingredients. -::error file=tests/Feature/Recipe/EditTest.php,line=163,col=0::Access to an undefined property App\Models\Plan::$description. -::error file=tests/Feature/Recipe/EditTest.php,line=164,col=0::Access to an undefined property App\Models\Plan::$description. -::error file=tests/Feature/Recipe/EditTest.php,line=165,col=0::Access to an undefined property App\Models\Plan::$video_url. -::error file=tests/Feature/Recipe/EditTest.php,line=166,col=0::Access to an undefined property App\Models\Plan::$video_url. -::error file=tests/Feature/Recipe/EditTest.php,line=177,col=0::Access to an undefined property App\Models\Plan::$title. -::error file=tests/Feature/Recipe/EditTest.php,line=179,col=0::Access to an undefined property App\Models\Plan::$cooking_time. -::error file=tests/Feature/Recipe/EditTest.php,line=180,col=0::Access to an undefined property App\Models\Plan::$ingredients. -::error file=tests/Feature/Recipe/EditTest.php,line=182,col=0::Access to an undefined property App\Models\Plan::$description. -::error file=tests/Feature/Recipe/EditTest.php,line=183,col=0::Access to an undefined property App\Models\Plan::$video_url. -::error file=tests/Feature/Recipe/IndexTest.php,line=14,col=0::Property Tests\Feature\Recipe\IndexTest::$recipe is never read, only written. -::error file=tests/Feature/Recipe/IndexTest.php,line=26,col=0::Method Tests\Feature\Recipe\IndexTest::test_index_page_success() has no return type specified. -::error file=tests/Feature/Recipe/ShowTest.php,line=26,col=0::Method Tests\Feature\Recipe\ShowTest::test_show_page_success() has no return type specified. -::error file=tests/Feature/RegistrationTest.php,line=20,col=0::Unreachable statement - code above always terminates. -::error file=tests/Feature/RegistrationTest.php,line=33,col=0::Unreachable statement - code above always terminates. -::error file=tests/Feature/RegistrationTest.php,line=46,col=0::Unreachable statement - code above always terminates. -::error file=tests/Feature/TwoFactorAuthenticationSettingsTest.php,line=21,col=0::Unreachable statement - code above always terminates. -::error file=tests/Feature/TwoFactorAuthenticationSettingsTest.php,line=42,col=0::Unreachable statement - code above always terminates. -::error file=tests/Feature/TwoFactorAuthenticationSettingsTest.php,line=66,col=0::Unreachable statement - code above always terminates. -::error file=tests/TestCase.php,line=30,col=0::Method Tests\TestCase::refreshApplicationWithLocale() has no return type specified. -::error file=tests/TestCase.php,line=30,col=0::Method Tests\TestCase::refreshApplicationWithLocale() has parameter $locale with no type specified. -::error ::Ignored error pattern /Parameter #1 \$value of function collect expects/ was not matched in reported errors. -::error ::Ignored error pattern /PHPDoc type array of property App\\Models\\User::\$hidden is not covariant with PHPDoc type/ was not matched in reported errors. -::error ::Ignored error pattern /PHPDoc type array of property App\\Models\\User::\$casts is not covariant with PHPDoc type/ was not matched in reported errors. -::error ::Ignored error pattern /is not covariant with PHPDoc type/ was not matched in reported errors. -Script phpstan analyse --ansi --memory-limit 512M --error-format=github handling the static-analysis event returned with error code 1 From ed9b7f1ccf693e745bc129025d4caae7efd5516a Mon Sep 17 00:00:00 2001 From: Anatoliy Poloz Date: Mon, 22 Jan 2024 11:53:19 +0300 Subject: [PATCH 6/7] trash removed --- database/.gitignore | 1 - database/factories/BlogPostFactory.php | 47 ---------- database/factories/DiaryFactory.php | 32 ------- database/factories/DietFactory.php | 89 ------------------- database/factories/PlanCommentFactory.php | 26 ------ database/factories/PlanFactory.php | 79 ---------------- database/factories/UserDetailzFactory.php | 50 ----------- database/factories/UserFactory.php | 69 -------------- .../2014_10_12_000000_create_users_table.php | 34 ------- ...12_100000_create_password_resets_table.php | 32 ------- ..._add_two_factor_columns_to_users_table.php | 46 ---------- ..._08_19_000000_create_failed_jobs_table.php | 36 -------- ...01_create_personal_access_tokens_table.php | 33 ------- ...022_03_30_125533_create_sessions_table.php | 35 -------- ...3_31_093623_create_user_detailzs_table.php | 53 ----------- ...2022_04_05_105659_create_diaries_table.php | 42 --------- .../2022_04_05_105723_create_meals_table.php | 45 ---------- ...022_04_06_140318_create_portions_table.php | 38 -------- .../2022_04_13_123342_add_closed_to_tasks.php | 32 ------- ...22_04_14_110737_create_calendars_table.php | 31 ------- ...19_create_circumference_measures_table.php | 35 -------- ...17_111617_create_weight_measures_table.php | 33 ------- ...0407_create_consultant_education_table.php | 39 -------- ...3_140744_create_user_attachments_table.php | 37 -------- ...5_26_101953_add_is_consultant_to_users.php | 32 ------- ...2724_create_meal_user_attachment_table.php | 33 ------- ...create_consultant_diary_comments_table.php | 35 -------- ...22_06_03_131304_add_comment_to_diaries.php | 32 ------- .../2022_06_29_135450_create_plans_table.php | 41 --------- ...2_06_30_090341_create_rich_texts_table.php | 26 ------ .../2022_07_08_083503_create_plan_author.php | 31 ------- ...7_22_105447_create_plan_comments_table.php | 35 -------- ...2_07_25_100927_create_plan_likes_table.php | 33 ------- ...26_111407_create_comment_upvotes_table.php | 34 ------- .../2022_08_26_094740_create_diets_table.php | 38 -------- .../2022_08_31_111901_diet_author.php | 31 ------- ...8_31_113609_create_diet_comments_table.php | 35 -------- ...2_08_31_113618_create_diet_likes_table.php | 33 ------- ...1104_create_diet_comment_upvotes_table.php | 34 ------- .../2022_09_06_115121_create_views_table.php | 62 ------------- ...09_12_125812_create_chosen_plans_table.php | 35 -------- ...09_12_125818_create_chosen_diets_table.php | 35 -------- ...9_12_132727_create_state_history_table.php | 35 -------- ...2_11_29_082630_create_blog_posts_table.php | 35 -------- ...2022_11_29_082657_create_recipes_table.php | 38 -------- .../2022_11_29_090908_create_tags_table.php | 32 ------- ...22_12_01_094513_create_taggables_table.php | 32 ------- .../2022_12_01_120945_blog_post_author.php | 31 ------- .../2022_12_01_121006_recipe_author.php | 31 ------- ...123439_create_blog_post_comments_table.php | 35 -------- ...06_123459_create_blog_post_likes_table.php | 33 ------- ...create_blog_post_comment_upvotes_table.php | 34 ------- ...06_124917_create_recipe_comments_table.php | 35 -------- ...12_06_124931_create_recipe_likes_table.php | 33 ------- ...40_create_recipe_comment_upvotes_table.php | 34 ------- ...7_101359_add_title_to_blog_posts_table.php | 32 ------- ...2_07_101435_add_title_to_recipes_table.php | 32 ------- ...rename_recipe_youtube_url_to_video_url.php | 32 ------- ...23_01_25_073135_add_recipe_type_column.php | 32 ------- .../2023_02_16_123259_create_chats_table.php | 34 ------- ..._26_145818_create_product_groups_table.php | 33 ------- ...reate_product_nutritional_values_table.php | 45 ---------- ...023_08_23_174247_create_finances_table.php | 31 ------- ...320_add_height_column_to_user_detailzs.php | 28 ------ ...622_add_fillable_to_table_user_detailz.php | 30 ------- ...23_09_01_152657_add_is_public_to_users.php | 28 ------ ...create_consultant_legal_entities_table.php | 46 ---------- .../2023_12_20_105039_add_slug_to_plan.php | 28 ------ database/seeders/BlogPostSeeder.php | 18 ---- database/seeders/DatabaseSeeder.php | 23 ----- database/seeders/DietsSeeder.php | 23 ----- database/seeders/PlanAuthor.php | 25 ------ database/seeders/PlanCommentSeeder.php | 37 -------- database/seeders/PlanSeeder.php | 17 ---- database/seeders/UserSeeder.php | 59 ------------ 75 files changed, 2700 deletions(-) delete mode 100644 database/.gitignore delete mode 100644 database/factories/BlogPostFactory.php delete mode 100644 database/factories/DiaryFactory.php delete mode 100644 database/factories/DietFactory.php delete mode 100755 database/factories/PlanCommentFactory.php delete mode 100755 database/factories/PlanFactory.php delete mode 100644 database/factories/UserDetailzFactory.php delete mode 100644 database/factories/UserFactory.php delete mode 100644 database/migrations/2014_10_12_000000_create_users_table.php delete mode 100644 database/migrations/2014_10_12_100000_create_password_resets_table.php delete mode 100644 database/migrations/2014_10_12_200000_add_two_factor_columns_to_users_table.php delete mode 100644 database/migrations/2019_08_19_000000_create_failed_jobs_table.php delete mode 100644 database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php delete mode 100644 database/migrations/2022_03_30_125533_create_sessions_table.php delete mode 100644 database/migrations/2022_03_31_093623_create_user_detailzs_table.php delete mode 100644 database/migrations/2022_04_05_105659_create_diaries_table.php delete mode 100644 database/migrations/2022_04_05_105723_create_meals_table.php delete mode 100644 database/migrations/2022_04_06_140318_create_portions_table.php delete mode 100644 database/migrations/2022_04_13_123342_add_closed_to_tasks.php delete mode 100644 database/migrations/2022_04_14_110737_create_calendars_table.php delete mode 100644 database/migrations/2022_05_13_131919_create_circumference_measures_table.php delete mode 100644 database/migrations/2022_05_17_111617_create_weight_measures_table.php delete mode 100644 database/migrations/2022_05_20_120407_create_consultant_education_table.php delete mode 100644 database/migrations/2022_05_23_140744_create_user_attachments_table.php delete mode 100644 database/migrations/2022_05_26_101953_add_is_consultant_to_users.php delete mode 100644 database/migrations/2022_05_30_142724_create_meal_user_attachment_table.php delete mode 100644 database/migrations/2022_06_03_085504_create_consultant_diary_comments_table.php delete mode 100644 database/migrations/2022_06_03_131304_add_comment_to_diaries.php delete mode 100644 database/migrations/2022_06_29_135450_create_plans_table.php delete mode 100644 database/migrations/2022_06_30_090341_create_rich_texts_table.php delete mode 100644 database/migrations/2022_07_08_083503_create_plan_author.php delete mode 100644 database/migrations/2022_07_22_105447_create_plan_comments_table.php delete mode 100644 database/migrations/2022_07_25_100927_create_plan_likes_table.php delete mode 100644 database/migrations/2022_07_26_111407_create_comment_upvotes_table.php delete mode 100644 database/migrations/2022_08_26_094740_create_diets_table.php delete mode 100644 database/migrations/2022_08_31_111901_diet_author.php delete mode 100644 database/migrations/2022_08_31_113609_create_diet_comments_table.php delete mode 100644 database/migrations/2022_08_31_113618_create_diet_likes_table.php delete mode 100644 database/migrations/2022_09_05_101104_create_diet_comment_upvotes_table.php delete mode 100644 database/migrations/2022_09_06_115121_create_views_table.php delete mode 100644 database/migrations/2022_09_12_125812_create_chosen_plans_table.php delete mode 100644 database/migrations/2022_09_12_125818_create_chosen_diets_table.php delete mode 100644 database/migrations/2022_09_12_132727_create_state_history_table.php delete mode 100644 database/migrations/2022_11_29_082630_create_blog_posts_table.php delete mode 100644 database/migrations/2022_11_29_082657_create_recipes_table.php delete mode 100644 database/migrations/2022_11_29_090908_create_tags_table.php delete mode 100644 database/migrations/2022_12_01_094513_create_taggables_table.php delete mode 100644 database/migrations/2022_12_01_120945_blog_post_author.php delete mode 100644 database/migrations/2022_12_01_121006_recipe_author.php delete mode 100644 database/migrations/2022_12_06_123439_create_blog_post_comments_table.php delete mode 100644 database/migrations/2022_12_06_123459_create_blog_post_likes_table.php delete mode 100644 database/migrations/2022_12_06_123516_create_blog_post_comment_upvotes_table.php delete mode 100644 database/migrations/2022_12_06_124917_create_recipe_comments_table.php delete mode 100644 database/migrations/2022_12_06_124931_create_recipe_likes_table.php delete mode 100644 database/migrations/2022_12_06_124940_create_recipe_comment_upvotes_table.php delete mode 100644 database/migrations/2022_12_07_101359_add_title_to_blog_posts_table.php delete mode 100644 database/migrations/2022_12_07_101435_add_title_to_recipes_table.php delete mode 100644 database/migrations/2023_01_13_092119_rename_recipe_youtube_url_to_video_url.php delete mode 100644 database/migrations/2023_01_25_073135_add_recipe_type_column.php delete mode 100644 database/migrations/2023_02_16_123259_create_chats_table.php delete mode 100644 database/migrations/2023_07_26_145818_create_product_groups_table.php delete mode 100644 database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php delete mode 100644 database/migrations/2023_08_23_174247_create_finances_table.php delete mode 100644 database/migrations/2023_08_30_135320_add_height_column_to_user_detailzs.php delete mode 100644 database/migrations/2023_09_01_113622_add_fillable_to_table_user_detailz.php delete mode 100644 database/migrations/2023_09_01_152657_add_is_public_to_users.php delete mode 100644 database/migrations/2023_09_14_145239_create_consultant_legal_entities_table.php delete mode 100644 database/migrations/2023_12_20_105039_add_slug_to_plan.php delete mode 100644 database/seeders/BlogPostSeeder.php delete mode 100644 database/seeders/DatabaseSeeder.php delete mode 100644 database/seeders/DietsSeeder.php delete mode 100644 database/seeders/PlanAuthor.php delete mode 100755 database/seeders/PlanCommentSeeder.php delete mode 100755 database/seeders/PlanSeeder.php delete mode 100644 database/seeders/UserSeeder.php diff --git a/database/.gitignore b/database/.gitignore deleted file mode 100644 index 9b19b93..0000000 --- a/database/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.sqlite* diff --git a/database/factories/BlogPostFactory.php b/database/factories/BlogPostFactory.php deleted file mode 100644 index 1780ea6..0000000 --- a/database/factories/BlogPostFactory.php +++ /dev/null @@ -1,47 +0,0 @@ - - */ -class BlogPostFactory extends Factory -{ - protected $model = BlogPost::class; - - /** - * Define the model's default state. - * - * @return array - */ - public function definition() - { - $imagePath = storage_path('app/public'); - $curImage = $this->faker->image($imagePath.'/blog_posts', 360, 360, 'animals', true, true, 'cats', true, 'jpg'); - $curImage = Str::replace($imagePath, '', $curImage); - - return [ - 'state' => $this->faker->randomElement(['active', 'archived']), - 'image' => $curImage, - 'description' => $this->faker->realText($this->faker->numberBetween(100, 200)), - 'youtube_url' => $this->faker->url(), - 'created_at' => $this->faker->dateTimeBetween('-1 week', '+1 week'), - 'updated_at' => $this->faker->dateTimeBetween('-1 week', '+1 week'), - 'title' => $this->faker->realText($this->faker->numberBetween(10, 20)), - ]; - } - - public function some() - { - User::orderBy('created_at', 'desc')->limit(20)->get()->map(function ($user) { - $newBlogPosts = BlogPost::factory()->count(3)->create(); - $newBlogPosts->map(function ($post) use ($user) { - $user->author_of_blog_post()->attach($post->id); - }); - }); - } -} diff --git a/database/factories/DiaryFactory.php b/database/factories/DiaryFactory.php deleted file mode 100644 index f36205d..0000000 --- a/database/factories/DiaryFactory.php +++ /dev/null @@ -1,32 +0,0 @@ - - */ -class DiaryFactory extends Factory -{ - protected $model = Diary::class; - - /** - * Define the model's default state. - * - * @return array - */ - public function definition() - { - return [ - 'user_id' => User::factory(), - 'date' => $this->faker->date('Y-m-d'), - 'wakeup' => '06:30:00', - 'retire' => '22:30:00', - 'comment' => 'some comment for tests', - 'closed' => false, - ]; - } -} diff --git a/database/factories/DietFactory.php b/database/factories/DietFactory.php deleted file mode 100644 index d4917be..0000000 --- a/database/factories/DietFactory.php +++ /dev/null @@ -1,89 +0,0 @@ - - */ -class DietFactory extends Factory -{ - - /** - * Define the model's default state. - * - * @return array - */ - public function definition(): array - { - $faker = \Faker\Factory::create(); - $this->faker->addProvider(new Restaurant($faker)); - $dietDuration = $this->faker->randomElement([7, 14, 21]); - $dietState = $this->faker->randomElement(['active','draft','archived']); - $numberOfDefinedDietTypes = $this->faker->numberBetween(1, 4); - $expectedDietTypes = ['meat', 'veg', 'corb', 'alko']; - $selectedDietTypes = $this->faker->randomElements($expectedDietTypes, $numberOfDefinedDietTypes); - $dietTypes = array_reduce( - $selectedDietTypes, - function($acc, $el) { - $acc[$el] = true; - return $acc; - }, - [] - ); - $dietEatingTypes = ['breakfast', 'dinner', 'supper', 'lunch', 'snacks']; - $dailySchedule = []; - $images = ['1.jpg', '2.jpg', '3.jpg', '4.jpg', '5.jpg', '6.jpg', '7.png', '8.png', '9.jpg', '10.png']; - Storage::fake('diets'); - $imageFileKey = $this->faker->numberBetween(0, 9); - $imageFilePath = 'database/assets/images/diets/' . $images[$imageFileKey]; - $file = new File($imageFilePath); - $fileLocalPath = Storage::putFile('diets', $file, 'public'); - - for($day = 1; $day <= $dietDuration ; $day++) { - foreach($dietEatingTypes as $eatingType) { - - $numberOfProductsInCurrentMeel = $this->faker->numberBetween(1, 4); - - for(;$numberOfProductsInCurrentMeel > 0; $numberOfProductsInCurrentMeel--) { - $meelName = $this->faker->foodName(); - $dailySchedule[$day][$eatingType][] = [ - 'name' => $meelName, - 'quantity' => $this->faker->numberBetween(1, 1000), - 'portion' => $this->faker->randomElement(['grams', 'pcs', 'milliliters']), - 'uniq' => $meelName . '-' . time(), - ]; - } - } - } - - $dietName = $this->faker->randomElement([ - $this->faker->foodName(), - $this->faker->beverageName(), - $this->faker->dairyName(), - $this->faker->vegetableName(), - $this->faker->fruitName(), - $this->faker->meatName(), - $this->faker->sauceName(), - ]); - - $dietNamePrefix = $this->faker->randomElement(['Super', 'Keto', 'Fast', 'Detox', 'Power Of', 'Green', 'Healthy', 'Turbo']); - - return [ - 'name' => $dietNamePrefix . " " . $dietName . " Diet", - 'duration' => $dietDuration, - 'state' => $dietState, - 'image' => $fileLocalPath, - 'type' => $dietTypes, - 'details' => $this->faker->paragraph(3, true), - 'daily_schedule' => $dailySchedule - ]; - } -} diff --git a/database/factories/PlanCommentFactory.php b/database/factories/PlanCommentFactory.php deleted file mode 100755 index 273be38..0000000 --- a/database/factories/PlanCommentFactory.php +++ /dev/null @@ -1,26 +0,0 @@ - - */ -class PlanCommentFactory extends Factory -{ - /** - * Define the model's default state. - * - * @return array - */ - public function definition(): array - { - - return [ - 'grade' => $this->faker->randomDigit(), - 'body' => $this->faker->text(), - ]; - - } -} diff --git a/database/factories/PlanFactory.php b/database/factories/PlanFactory.php deleted file mode 100755 index 6a5ccba..0000000 --- a/database/factories/PlanFactory.php +++ /dev/null @@ -1,79 +0,0 @@ - - */ -class PlanFactory extends Factory -{ - /** - * Define the model's default state. - * - * @return array - */ - public function definition(): array - { - - $faker = \Faker\Factory::create(); - $this->faker->addProvider(new Restaurant($faker)); - - $active = $this->faker->boolean(); - - $typeBody = [ - 'fit' => $this->faker->boolean(), - 'slim' => $this->faker->boolean(), - 'behavior' => $this->faker->boolean(), - 'wellness' => $this->faker->boolean(), - ]; - - $wrongTypeBody = json_encode($typeBody); - - $packetsOptions1 = [ - 'items' => [$this->faker->fruitName(), $this->faker->meatName(), $this->faker->sauceName()], - 'price' => $this->faker->randomNumber(), - 'short' => $this->faker->foodName(), - 'description' => $this->faker->text(), - ]; - - - $packetsOptions2 = [ - 'items' => [$this->faker->fruitName(), $this->faker->meatName(), $this->faker->sauceName()], - 'price' => $this->faker->randomNumber(), - 'short' => $this->faker->foodName(), - 'description' => $this->faker->text(), - ]; - - - $packetsOptions3 = [ - 'items' => [$this->faker->fruitName(), $this->faker->meatName(), $this->faker->sauceName()], - 'price' => $this->faker->randomNumber(), - 'short' => $this->faker->foodName(), - 'description' => $this->faker->text(), - ]; - - Storage::fake('plans'); - $file = UploadedFile::fake()->image('plan.png'); - $fileLocalPath = $file->store('plans', 'public'); - - return [ - 'name' => $this->faker->foodName(), - // 'image' => UploadedFile::fake()->image('plans/Photo_C.png'), - 'image' => $fileLocalPath, - 'duration' => $this->faker->randomElement([7, 14, 21]), - 'state' => $this->faker->randomElement(['active', 'draft', 'unactive']), - //'type' => $this->faker->randomElement([$typeBody, $wrongTypeBody]), - 'type' => $typeBody, - 'details' => $this->faker->text(), - 'packets_count' => $this->faker->randomElement([1, 3]), - 'packet1_options' => $packetsOptions1, - 'packet2_options' => $active ? $packetsOptions2 : '', - 'packet3_options' => $active ? $packetsOptions3 : '', - ]; - } -} diff --git a/database/factories/UserDetailzFactory.php b/database/factories/UserDetailzFactory.php deleted file mode 100644 index 6bd865b..0000000 --- a/database/factories/UserDetailzFactory.php +++ /dev/null @@ -1,50 +0,0 @@ - - */ -class UserDetailzFactory extends Factory -{ - protected $model = UserDetailz::class; - - /** - * Define the model's default state. - * - * @return array - */ - public function definition() - { - return [ - // 'user_id' => User::factory(), - 'first_name' => $this->faker->name(), - 'last_name' => $this->faker->name(), - 'birthdate' => $this->faker->date('Y-m-d'), - 'gender' => $this->faker->randomElement(['male', 'female']), - 'country' => $this->faker->countryCode(), - 'city' => $this->faker->randomElement(['Moscow', 'Kyev', 'New-York', 'Minsk']), - 'lang' => $this->faker->languageCode(), - 'weight' => $this->faker->numberBetween(90, 200), - 'chest_circumference' => $this->faker->randomNumber(2, true), - 'waist_circumference' => $this->faker->randomNumber(2, true), - 'hip_circumference' => $this->faker->randomNumber(2, true), - 'blood_pressure_up' => $this->faker->randomNumber(3, true), - 'blood_pressure_down' => $this->faker->randomNumber(3, true), - 'has_hypo' => $this->faker->randomElement(['0', '1']), - 'has_hyper' => $this->faker->randomElement(['0', '1']), - 'about_alergy' => $this->faker->text(), - 'about_taking_pils' => $this->faker->text(), - 'about_sport_hobbies' => $this->faker->text(), - 'favorite_foods' => $this->faker->text(), - 'unfavorite_foods' => $this->faker->text(), - 'additional_info' => $this->faker->text(), - 'is_mood_fillable' => $this->faker->boolean(), - 'is_bedtime_fillable' => $this->faker->boolean(), - ]; - } -} diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php deleted file mode 100644 index 563d0f4..0000000 --- a/database/factories/UserFactory.php +++ /dev/null @@ -1,69 +0,0 @@ - - */ -class UserFactory extends Factory -{ - /** - * Define the model's default state. - * - * @return array - */ - public function definition(): array - { - - return [ - 'name' => $this->faker->name(), - 'email' => $this->faker->unique()->safeEmail(), - 'email_verified_at' => now(), - 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password - 'two_factor_secret' => null, - 'two_factor_recovery_codes' => null, - 'remember_token' => Str::random(10), - 'profile_photo_path' => null, - 'current_team_id' => null, - ]; - } - - /** - * Indicate that the model's email address should be unverified. - */ - public function unverified(): static - { - return $this->state(function (array $attributes) { - return [ - 'email_verified_at' => null, - ]; - }); - } - - /** - * Indicate that the user should have a personal team. - */ - public function withPersonalTeam(?callable $callback = null): static - { - if (! Features::hasTeamFeatures()) { - return $this->state([]); - } - - return $this->has( - Team::factory() - ->state(fn (array $attributes, User $user) => [ - 'name' => $user->name.'\'s Team', - 'user_id' => $user->id, - 'personal_team' => true, - ]) - ->when(is_callable($callback), $callback), - 'ownedTeams' - ); - } -} diff --git a/database/migrations/2014_10_12_000000_create_users_table.php b/database/migrations/2014_10_12_000000_create_users_table.php deleted file mode 100644 index f56e5c6..0000000 --- a/database/migrations/2014_10_12_000000_create_users_table.php +++ /dev/null @@ -1,34 +0,0 @@ -id(); - $table->string('name'); - $table->string('email')->unique(); - $table->timestamp('email_verified_at')->nullable(); - $table->string('password'); - $table->rememberToken(); - $table->foreignId('current_team_id')->nullable(); - $table->string('profile_photo_path', 2048)->nullable(); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - */ - public function down(): void - { - Schema::dropIfExists('users'); - } -}; diff --git a/database/migrations/2014_10_12_100000_create_password_resets_table.php b/database/migrations/2014_10_12_100000_create_password_resets_table.php deleted file mode 100644 index fcacb80..0000000 --- a/database/migrations/2014_10_12_100000_create_password_resets_table.php +++ /dev/null @@ -1,32 +0,0 @@ -string('email')->index(); - $table->string('token'); - $table->timestamp('created_at')->nullable(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('password_resets'); - } -}; diff --git a/database/migrations/2014_10_12_200000_add_two_factor_columns_to_users_table.php b/database/migrations/2014_10_12_200000_add_two_factor_columns_to_users_table.php deleted file mode 100644 index b490e24..0000000 --- a/database/migrations/2014_10_12_200000_add_two_factor_columns_to_users_table.php +++ /dev/null @@ -1,46 +0,0 @@ -text('two_factor_secret') - ->after('password') - ->nullable(); - - $table->text('two_factor_recovery_codes') - ->after('two_factor_secret') - ->nullable(); - - if (Fortify::confirmsTwoFactorAuthentication()) { - $table->timestamp('two_factor_confirmed_at') - ->after('two_factor_recovery_codes') - ->nullable(); - } - }); - } - - /** - * Reverse the migrations. - */ - public function down(): void - { - Schema::table('users', function (Blueprint $table) { - $table->dropColumn(array_merge([ - 'two_factor_secret', - 'two_factor_recovery_codes', - ], Fortify::confirmsTwoFactorAuthentication() ? [ - 'two_factor_confirmed_at', - ] : [])); - }); - } -}; diff --git a/database/migrations/2019_08_19_000000_create_failed_jobs_table.php b/database/migrations/2019_08_19_000000_create_failed_jobs_table.php deleted file mode 100644 index 1719198..0000000 --- a/database/migrations/2019_08_19_000000_create_failed_jobs_table.php +++ /dev/null @@ -1,36 +0,0 @@ -id(); - $table->string('uuid')->unique(); - $table->text('connection'); - $table->text('queue'); - $table->longText('payload'); - $table->longText('exception'); - $table->timestamp('failed_at')->useCurrent(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('failed_jobs'); - } -}; diff --git a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php b/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php deleted file mode 100644 index e828ad8..0000000 --- a/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php +++ /dev/null @@ -1,33 +0,0 @@ -id(); - $table->morphs('tokenable'); - $table->string('name'); - $table->string('token', 64)->unique(); - $table->text('abilities')->nullable(); - $table->timestamp('last_used_at')->nullable(); - $table->timestamp('expires_at')->nullable(); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - */ - public function down(): void - { - Schema::dropIfExists('personal_access_tokens'); - } -}; diff --git a/database/migrations/2022_03_30_125533_create_sessions_table.php b/database/migrations/2022_03_30_125533_create_sessions_table.php deleted file mode 100644 index c455537..0000000 --- a/database/migrations/2022_03_30_125533_create_sessions_table.php +++ /dev/null @@ -1,35 +0,0 @@ -string('id')->primary(); - $table->foreignId('user_id')->nullable()->index(); - $table->string('ip_address', 45)->nullable(); - $table->text('user_agent')->nullable(); - $table->text('payload'); - $table->integer('last_activity')->index(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('sessions'); - } -}; diff --git a/database/migrations/2022_03_31_093623_create_user_detailzs_table.php b/database/migrations/2022_03_31_093623_create_user_detailzs_table.php deleted file mode 100644 index 095f5dc..0000000 --- a/database/migrations/2022_03_31_093623_create_user_detailzs_table.php +++ /dev/null @@ -1,53 +0,0 @@ -id(); - $table->bigInteger('user_id')->nullable(); - $table->string('first_name', 256)->default(''); - $table->string('last_name', 256)->default(''); - $table->date('birthdate')->default('1980-01-01')->nullable(false); - $table->string('gender')->default(''); - $table->string('country')->default(''); - $table->string('city')->default(''); - $table->string('lang')->default(''); - $table->smallInteger('weight')->default(0); - $table->smallInteger('chest_circumference')->default(0); - $table->smallInteger('waist_circumference')->default(0); - $table->smallInteger('hip_circumference')->default(0); - $table->smallInteger('blood_pressure_up')->default(0); - $table->smallInteger('blood_pressure_down')->default(0); - $table->boolean('has_hypo')->default(false); - $table->boolean('has_hyper')->default(false); - $table->text('about_alergy'); - $table->text('about_taking_pils'); - $table->text('about_sport_hobbies'); - $table->text('favorite_foods'); - $table->text('unfavorite_foods'); - $table->text('additional_info'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('user_detailzs'); - } -}; diff --git a/database/migrations/2022_04_05_105659_create_diaries_table.php b/database/migrations/2022_04_05_105659_create_diaries_table.php deleted file mode 100644 index 7a4361e..0000000 --- a/database/migrations/2022_04_05_105659_create_diaries_table.php +++ /dev/null @@ -1,42 +0,0 @@ -id(); - $table->foreignId('user_id') - ->nullable() - ->constrained() - ->onUpdate('cascade') - ->onDelete('cascade'); - /* $table->unsignedBigInteger('user_id'); */ - $table->date('date'); - $table->time('wakeup'); - $table->time('retire'); - $table->timestamps(); - /* $table->foreign('user_id')->references('id')->on('users'); */ - - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('diaries'); - } -}; diff --git a/database/migrations/2022_04_05_105723_create_meals_table.php b/database/migrations/2022_04_05_105723_create_meals_table.php deleted file mode 100644 index 1022e26..0000000 --- a/database/migrations/2022_04_05_105723_create_meals_table.php +++ /dev/null @@ -1,45 +0,0 @@ -id(); - $table->foreignId('user_id') - ->nullable() - ->constrained('users') - ->onUpdate('cascade') - ->onDelete('cascade'); - $table->foreignId('diary_id') - ->nullable() - ->constrained('diaries') - ->onUpdate('cascade') - ->onDelete('cascade'); - $table->time('time'); - $table->unsignedTinyInteger('type'); - $table->tinyInteger('satiety'); - $table->tinyInteger('mood'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('meals'); - } -}; diff --git a/database/migrations/2022_04_06_140318_create_portions_table.php b/database/migrations/2022_04_06_140318_create_portions_table.php deleted file mode 100644 index 41e56b2..0000000 --- a/database/migrations/2022_04_06_140318_create_portions_table.php +++ /dev/null @@ -1,38 +0,0 @@ -id(); - $table->foreignId('meal_id') - ->constrained('meals') - ->onUpdate('cascade') - ->onDelete('cascade'); - $table->string('product_name'); - $table->string('portion'); - $table->smallInteger('quantity'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('portions'); - } -}; diff --git a/database/migrations/2022_04_13_123342_add_closed_to_tasks.php b/database/migrations/2022_04_13_123342_add_closed_to_tasks.php deleted file mode 100644 index efb7c7d..0000000 --- a/database/migrations/2022_04_13_123342_add_closed_to_tasks.php +++ /dev/null @@ -1,32 +0,0 @@ -boolean('closed')->default(false); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('diaries', function (Blueprint $table) { - $table->dropColumn('closed'); - }); - } -}; diff --git a/database/migrations/2022_04_14_110737_create_calendars_table.php b/database/migrations/2022_04_14_110737_create_calendars_table.php deleted file mode 100644 index 7776206..0000000 --- a/database/migrations/2022_04_14_110737_create_calendars_table.php +++ /dev/null @@ -1,31 +0,0 @@ -id(); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('calendars'); - } -}; diff --git a/database/migrations/2022_05_13_131919_create_circumference_measures_table.php b/database/migrations/2022_05_13_131919_create_circumference_measures_table.php deleted file mode 100644 index 6c85d52..0000000 --- a/database/migrations/2022_05_13_131919_create_circumference_measures_table.php +++ /dev/null @@ -1,35 +0,0 @@ -id(); - $table->bigInteger('user_id'); - $table->smallInteger('chest_circumference')->default(0); - $table->smallInteger('waist_circumference')->default(0); - $table->smallInteger('hip_circumference')->default(0); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('circumference_measures'); - } -}; diff --git a/database/migrations/2022_05_17_111617_create_weight_measures_table.php b/database/migrations/2022_05_17_111617_create_weight_measures_table.php deleted file mode 100644 index d251581..0000000 --- a/database/migrations/2022_05_17_111617_create_weight_measures_table.php +++ /dev/null @@ -1,33 +0,0 @@ -id(); - $table->bigInteger('user_id'); - $table->smallInteger('weight')->default(0); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('weight_measures'); - } -}; diff --git a/database/migrations/2022_05_20_120407_create_consultant_education_table.php b/database/migrations/2022_05_20_120407_create_consultant_education_table.php deleted file mode 100644 index 907e9a7..0000000 --- a/database/migrations/2022_05_20_120407_create_consultant_education_table.php +++ /dev/null @@ -1,39 +0,0 @@ -id(); - $table->bigInteger('user_id'); - $table->json('completed_courses'); - $table->boolean('has_medical_education')->default(false); - $table->string('vk_link')->default(''); - $table->string('insta_link')->default(''); - $table->string('fb_link')->default(''); - $table->string('tg_link')->default(''); - $table->string('request_state')->default(''); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('consultant_education'); - } -}; diff --git a/database/migrations/2022_05_23_140744_create_user_attachments_table.php b/database/migrations/2022_05_23_140744_create_user_attachments_table.php deleted file mode 100644 index 085a76b..0000000 --- a/database/migrations/2022_05_23_140744_create_user_attachments_table.php +++ /dev/null @@ -1,37 +0,0 @@ -id(); - $table->bigInteger('user_id'); - $table->string('group')->default('user_files'); - $table->string('original_name'); - $table->string('path'); - $table->integer('size')->default(0); - $table->json('specs'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('user_attachments'); - } -}; diff --git a/database/migrations/2022_05_26_101953_add_is_consultant_to_users.php b/database/migrations/2022_05_26_101953_add_is_consultant_to_users.php deleted file mode 100644 index 2ffe046..0000000 --- a/database/migrations/2022_05_26_101953_add_is_consultant_to_users.php +++ /dev/null @@ -1,32 +0,0 @@ -boolean('is_consultant')->default(false); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('users', function (Blueprint $table) { - $table->dropColumn('is_consultant'); - }); - } -}; diff --git a/database/migrations/2022_05_30_142724_create_meal_user_attachment_table.php b/database/migrations/2022_05_30_142724_create_meal_user_attachment_table.php deleted file mode 100644 index 3ab5ec2..0000000 --- a/database/migrations/2022_05_30_142724_create_meal_user_attachment_table.php +++ /dev/null @@ -1,33 +0,0 @@ -id(); - $table->bigInteger('meal_id'); - $table->bigInteger('user_attachment_id'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('meal_user_attachment'); - } -}; diff --git a/database/migrations/2022_06_03_085504_create_consultant_diary_comments_table.php b/database/migrations/2022_06_03_085504_create_consultant_diary_comments_table.php deleted file mode 100644 index 1b8960f..0000000 --- a/database/migrations/2022_06_03_085504_create_consultant_diary_comments_table.php +++ /dev/null @@ -1,35 +0,0 @@ -id(); - $table->bigInteger('user_id')->comment('consultant id'); - $table->bigInteger('diary_id'); - $table->string('comment_type', 128); - $table->text('comment'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('consultant_diary_comments'); - } -}; diff --git a/database/migrations/2022_06_03_131304_add_comment_to_diaries.php b/database/migrations/2022_06_03_131304_add_comment_to_diaries.php deleted file mode 100644 index b71057b..0000000 --- a/database/migrations/2022_06_03_131304_add_comment_to_diaries.php +++ /dev/null @@ -1,32 +0,0 @@ -text('comment'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('diaries', function (Blueprint $table) { - $table->dropColumn('comment'); - }); - } -}; diff --git a/database/migrations/2022_06_29_135450_create_plans_table.php b/database/migrations/2022_06_29_135450_create_plans_table.php deleted file mode 100644 index f447088..0000000 --- a/database/migrations/2022_06_29_135450_create_plans_table.php +++ /dev/null @@ -1,41 +0,0 @@ -id(); - $table->string('name')->comment('name of plan'); - $table->string('image')->nullable()->comment('public path to image'); - $table->smallInteger('duration')->comment('plan duration - 7, 14, 21 days'); - $table->string('state')->comment('active/draft/archived'); - $table->json('type')->comment('to lose weight, to gain weight, to improve your mood, to shape your eating behavior'); - $table->text('details')->comment('plan details'); - $table->tinyInteger('packets_count')->comment('1 on 3 packets of options in plan'); - $table->json('packet1_options'); - $table->json('packet2_options'); - $table->json('packet3_options'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('plans'); - } -}; diff --git a/database/migrations/2022_06_30_090341_create_rich_texts_table.php b/database/migrations/2022_06_30_090341_create_rich_texts_table.php deleted file mode 100644 index 0ecd6bf..0000000 --- a/database/migrations/2022_06_30_090341_create_rich_texts_table.php +++ /dev/null @@ -1,26 +0,0 @@ -id(); - $table->morphs('record'); - $table->string('field'); - $table->longText('body')->nullable(); - $table->timestamps(); - - $table->unique(['field', 'record_type', 'record_id']); - }); - } - - public function down() - { - Schema::dropIfExists('rich_texts'); - } -}; diff --git a/database/migrations/2022_07_08_083503_create_plan_author.php b/database/migrations/2022_07_08_083503_create_plan_author.php deleted file mode 100644 index c5a9dc9..0000000 --- a/database/migrations/2022_07_08_083503_create_plan_author.php +++ /dev/null @@ -1,31 +0,0 @@ -bigInteger('user_id'); - $table->bigInteger('plan_id'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('plan_author'); - } -}; diff --git a/database/migrations/2022_07_22_105447_create_plan_comments_table.php b/database/migrations/2022_07_22_105447_create_plan_comments_table.php deleted file mode 100644 index f75a027..0000000 --- a/database/migrations/2022_07_22_105447_create_plan_comments_table.php +++ /dev/null @@ -1,35 +0,0 @@ -id(); - $table->bigInteger('user_id'); - $table->bigInteger('plan_id'); - $table->smallInteger('grade')->default(0); - $table->longText('body')->nullable(); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('plan_comments'); - } -}; diff --git a/database/migrations/2022_07_25_100927_create_plan_likes_table.php b/database/migrations/2022_07_25_100927_create_plan_likes_table.php deleted file mode 100644 index 7e8c36b..0000000 --- a/database/migrations/2022_07_25_100927_create_plan_likes_table.php +++ /dev/null @@ -1,33 +0,0 @@ -id(); - $table->foreignId('plan_id'); - $table->foreignId('user_id'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('plan_likes'); - } -}; diff --git a/database/migrations/2022_07_26_111407_create_comment_upvotes_table.php b/database/migrations/2022_07_26_111407_create_comment_upvotes_table.php deleted file mode 100644 index db2097c..0000000 --- a/database/migrations/2022_07_26_111407_create_comment_upvotes_table.php +++ /dev/null @@ -1,34 +0,0 @@ -id(); - $table->foreignId('comment_id'); - $table->foreignId('user_id'); - $table->string('type')->default('upvote'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('comment_upvotes'); - } -}; diff --git a/database/migrations/2022_08_26_094740_create_diets_table.php b/database/migrations/2022_08_26_094740_create_diets_table.php deleted file mode 100644 index 5a9fb41..0000000 --- a/database/migrations/2022_08_26_094740_create_diets_table.php +++ /dev/null @@ -1,38 +0,0 @@ -id(); - $table->string('name')->comment('name of diet'); - $table->string('image')->nullable()->comment('public path to image'); - $table->smallInteger('duration')->comment('diet duration - 7, 14, 28 days'); - $table->string('state')->comment('active/draft/archived'); - $table->json('type')->comment('has meat/vegs/carb/alcohol'); - $table->text('details')->comment('diet details'); - $table->json('daily_schedule')->comment('A list of planned foods'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('diets'); - } -}; diff --git a/database/migrations/2022_08_31_111901_diet_author.php b/database/migrations/2022_08_31_111901_diet_author.php deleted file mode 100644 index a9ac9f3..0000000 --- a/database/migrations/2022_08_31_111901_diet_author.php +++ /dev/null @@ -1,31 +0,0 @@ -bigInteger('user_id'); - $table->bigInteger('diet_id'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('diet_author'); - } -}; diff --git a/database/migrations/2022_08_31_113609_create_diet_comments_table.php b/database/migrations/2022_08_31_113609_create_diet_comments_table.php deleted file mode 100644 index b0081f7..0000000 --- a/database/migrations/2022_08_31_113609_create_diet_comments_table.php +++ /dev/null @@ -1,35 +0,0 @@ -id(); - $table->bigInteger('user_id'); - $table->bigInteger('diet_id'); - $table->smallInteger('grade')->default(0); - $table->longText('body')->nullable(); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('diet_comments'); - } -}; diff --git a/database/migrations/2022_08_31_113618_create_diet_likes_table.php b/database/migrations/2022_08_31_113618_create_diet_likes_table.php deleted file mode 100644 index dbdcb06..0000000 --- a/database/migrations/2022_08_31_113618_create_diet_likes_table.php +++ /dev/null @@ -1,33 +0,0 @@ -id(); - $table->foreignId('diet_id'); - $table->foreignId('user_id'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('diet_likes'); - } -}; diff --git a/database/migrations/2022_09_05_101104_create_diet_comment_upvotes_table.php b/database/migrations/2022_09_05_101104_create_diet_comment_upvotes_table.php deleted file mode 100644 index ad6c10a..0000000 --- a/database/migrations/2022_09_05_101104_create_diet_comment_upvotes_table.php +++ /dev/null @@ -1,34 +0,0 @@ -id(); - $table->foreignId('comment_id'); - $table->foreignId('user_id'); - $table->string('type')->default('upvote'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('diet_comment_upvotes'); - } -}; diff --git a/database/migrations/2022_09_06_115121_create_views_table.php b/database/migrations/2022_09_06_115121_create_views_table.php deleted file mode 100644 index fc140dd..0000000 --- a/database/migrations/2022_09_06_115121_create_views_table.php +++ /dev/null @@ -1,62 +0,0 @@ -schema = Schema::connection( - config('eloquent-viewable.models.view.connection') - ); - - $this->table = config('eloquent-viewable.models.view.table_name'); - } - - /** - * Run the migrations. - * - * @return void - */ - public function up() - { - $this->schema->create($this->table, function (Blueprint $table) { - $table->bigIncrements('id'); - $table->morphs('viewable'); - $table->text('visitor')->nullable(); - $table->string('collection')->nullable(); - $table->timestamp('viewed_at')->useCurrent(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists($this->table); - } -} diff --git a/database/migrations/2022_09_12_125812_create_chosen_plans_table.php b/database/migrations/2022_09_12_125812_create_chosen_plans_table.php deleted file mode 100644 index 8ea92c3..0000000 --- a/database/migrations/2022_09_12_125812_create_chosen_plans_table.php +++ /dev/null @@ -1,35 +0,0 @@ -id(); - $table->foreignId('plan_id')->nullable(); - $table->foreignId('user_id')->unique(); - $table->string('last_state')->default('inited'); // requested->paid->started->finished, requested->paid->started->rejected, requested->rejected - $table->timestamp('start_date')->useCurrent(); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('chosen_plans'); - } -}; diff --git a/database/migrations/2022_09_12_125818_create_chosen_diets_table.php b/database/migrations/2022_09_12_125818_create_chosen_diets_table.php deleted file mode 100644 index 35b2849..0000000 --- a/database/migrations/2022_09_12_125818_create_chosen_diets_table.php +++ /dev/null @@ -1,35 +0,0 @@ -id(); - $table->foreignId('diet_id')->nullable(); - $table->foreignId('user_id')->unique(); - $table->string('last_state')->default('inited'); // started->finished, started->rejected - $table->timestamp('start_date')->useCurrent(); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('chosen_diets'); - } -}; diff --git a/database/migrations/2022_09_12_132727_create_state_history_table.php b/database/migrations/2022_09_12_132727_create_state_history_table.php deleted file mode 100644 index f6e68a9..0000000 --- a/database/migrations/2022_09_12_132727_create_state_history_table.php +++ /dev/null @@ -1,35 +0,0 @@ -increments('id'); - $table->string('transition'); - $table->string('from'); - $table->string('to'); - $table->integer('actor_id')->nullable(); - $table->morphs('statable'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('state_history'); - } -} diff --git a/database/migrations/2022_11_29_082630_create_blog_posts_table.php b/database/migrations/2022_11_29_082630_create_blog_posts_table.php deleted file mode 100644 index 9c1de50..0000000 --- a/database/migrations/2022_11_29_082630_create_blog_posts_table.php +++ /dev/null @@ -1,35 +0,0 @@ -id(); - $table->string('state')->default('archived')->comment('active/archived'); - $table->string('image')->default('')->comment('public path to image'); - $table->text('description'); - $table->string('youtube_url')->default(''); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('blog_posts'); - } -}; diff --git a/database/migrations/2022_11_29_082657_create_recipes_table.php b/database/migrations/2022_11_29_082657_create_recipes_table.php deleted file mode 100644 index 5cb7ab9..0000000 --- a/database/migrations/2022_11_29_082657_create_recipes_table.php +++ /dev/null @@ -1,38 +0,0 @@ -id(); - $table->string('image')->default('')->comment('public path to image'); - $table->string('state')->comment('active/archived'); - $table->integer('cooking_time')->default(0); - $table->json('ingredients'); - $table->text('description'); - $table->json('steps'); - $table->string('youtube_url')->default(''); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('recipes'); - } -}; diff --git a/database/migrations/2022_11_29_090908_create_tags_table.php b/database/migrations/2022_11_29_090908_create_tags_table.php deleted file mode 100644 index e9a3032..0000000 --- a/database/migrations/2022_11_29_090908_create_tags_table.php +++ /dev/null @@ -1,32 +0,0 @@ -id(); - $table->string('name'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('tags'); - } -}; diff --git a/database/migrations/2022_12_01_094513_create_taggables_table.php b/database/migrations/2022_12_01_094513_create_taggables_table.php deleted file mode 100644 index 053ec3e..0000000 --- a/database/migrations/2022_12_01_094513_create_taggables_table.php +++ /dev/null @@ -1,32 +0,0 @@ -id(); - $table->integer('tag_id'); - $table->morphs('taggable'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('taggables'); - } -}; diff --git a/database/migrations/2022_12_01_120945_blog_post_author.php b/database/migrations/2022_12_01_120945_blog_post_author.php deleted file mode 100644 index f760fdd..0000000 --- a/database/migrations/2022_12_01_120945_blog_post_author.php +++ /dev/null @@ -1,31 +0,0 @@ -bigInteger('user_id'); - $table->bigInteger('blog_post_id'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('blog_post_author'); - } -}; diff --git a/database/migrations/2022_12_01_121006_recipe_author.php b/database/migrations/2022_12_01_121006_recipe_author.php deleted file mode 100644 index 46bc1bc..0000000 --- a/database/migrations/2022_12_01_121006_recipe_author.php +++ /dev/null @@ -1,31 +0,0 @@ -bigInteger('user_id'); - $table->bigInteger('recipe_id'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('recipe_author'); - } -}; diff --git a/database/migrations/2022_12_06_123439_create_blog_post_comments_table.php b/database/migrations/2022_12_06_123439_create_blog_post_comments_table.php deleted file mode 100644 index 1604d1c..0000000 --- a/database/migrations/2022_12_06_123439_create_blog_post_comments_table.php +++ /dev/null @@ -1,35 +0,0 @@ -id(); - $table->bigInteger('user_id'); - $table->bigInteger('blog_post_id'); - $table->smallInteger('grade')->default(0); - $table->longText('body')->nullable(); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('blog_post_comments'); - } -}; diff --git a/database/migrations/2022_12_06_123459_create_blog_post_likes_table.php b/database/migrations/2022_12_06_123459_create_blog_post_likes_table.php deleted file mode 100644 index 7965525..0000000 --- a/database/migrations/2022_12_06_123459_create_blog_post_likes_table.php +++ /dev/null @@ -1,33 +0,0 @@ -id(); - $table->foreignId('blog_post_id'); - $table->foreignId('user_id'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('blog_post_likes'); - } -}; diff --git a/database/migrations/2022_12_06_123516_create_blog_post_comment_upvotes_table.php b/database/migrations/2022_12_06_123516_create_blog_post_comment_upvotes_table.php deleted file mode 100644 index 85ef5a1..0000000 --- a/database/migrations/2022_12_06_123516_create_blog_post_comment_upvotes_table.php +++ /dev/null @@ -1,34 +0,0 @@ -id(); - $table->foreignId('blog_post_comment_id'); - $table->foreignId('user_id'); - $table->string('type')->default('upvote'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('blog_post_comment_upvotes'); - } -}; diff --git a/database/migrations/2022_12_06_124917_create_recipe_comments_table.php b/database/migrations/2022_12_06_124917_create_recipe_comments_table.php deleted file mode 100644 index fac1513..0000000 --- a/database/migrations/2022_12_06_124917_create_recipe_comments_table.php +++ /dev/null @@ -1,35 +0,0 @@ -id(); - $table->bigInteger('user_id'); - $table->bigInteger('recipe_id'); - $table->smallInteger('grade')->default(0); - $table->longText('body')->nullable(); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('recipe_comments'); - } -}; diff --git a/database/migrations/2022_12_06_124931_create_recipe_likes_table.php b/database/migrations/2022_12_06_124931_create_recipe_likes_table.php deleted file mode 100644 index 3ab1466..0000000 --- a/database/migrations/2022_12_06_124931_create_recipe_likes_table.php +++ /dev/null @@ -1,33 +0,0 @@ -id(); - $table->foreignId('recipe_id'); - $table->foreignId('user_id'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('recipe_likes'); - } -}; diff --git a/database/migrations/2022_12_06_124940_create_recipe_comment_upvotes_table.php b/database/migrations/2022_12_06_124940_create_recipe_comment_upvotes_table.php deleted file mode 100644 index d08c804..0000000 --- a/database/migrations/2022_12_06_124940_create_recipe_comment_upvotes_table.php +++ /dev/null @@ -1,34 +0,0 @@ -id(); - $table->foreignId('recipe_comment_id'); - $table->foreignId('user_id'); - $table->string('type')->default('upvote'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('recipe_comment_upvotes'); - } -}; diff --git a/database/migrations/2022_12_07_101359_add_title_to_blog_posts_table.php b/database/migrations/2022_12_07_101359_add_title_to_blog_posts_table.php deleted file mode 100644 index 409dddf..0000000 --- a/database/migrations/2022_12_07_101359_add_title_to_blog_posts_table.php +++ /dev/null @@ -1,32 +0,0 @@ -string('title', 512)->default(''); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('blog_posts', function (Blueprint $table) { - $table->dropColumn('title'); - }); - } -}; diff --git a/database/migrations/2022_12_07_101435_add_title_to_recipes_table.php b/database/migrations/2022_12_07_101435_add_title_to_recipes_table.php deleted file mode 100644 index 7e5cb46..0000000 --- a/database/migrations/2022_12_07_101435_add_title_to_recipes_table.php +++ /dev/null @@ -1,32 +0,0 @@ -string('title', 512)->default(''); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('recipes', function (Blueprint $table) { - $table->dropColumn('title'); - }); - } -}; diff --git a/database/migrations/2023_01_13_092119_rename_recipe_youtube_url_to_video_url.php b/database/migrations/2023_01_13_092119_rename_recipe_youtube_url_to_video_url.php deleted file mode 100644 index 8d615bc..0000000 --- a/database/migrations/2023_01_13_092119_rename_recipe_youtube_url_to_video_url.php +++ /dev/null @@ -1,32 +0,0 @@ -renameColumn('youtube_url', 'video_url'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('recipes', function (Blueprint $table) { - $table->renameColumn('video_url', 'youtube_url'); - }); - } -}; diff --git a/database/migrations/2023_01_25_073135_add_recipe_type_column.php b/database/migrations/2023_01_25_073135_add_recipe_type_column.php deleted file mode 100644 index 9f1bb65..0000000 --- a/database/migrations/2023_01_25_073135_add_recipe_type_column.php +++ /dev/null @@ -1,32 +0,0 @@ -string('type', 512)->default('unknown'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('recipes', function (Blueprint $table) { - $table->dropColumn('type'); - }); - } -}; diff --git a/database/migrations/2023_02_16_123259_create_chats_table.php b/database/migrations/2023_02_16_123259_create_chats_table.php deleted file mode 100644 index 092391c..0000000 --- a/database/migrations/2023_02_16_123259_create_chats_table.php +++ /dev/null @@ -1,34 +0,0 @@ -id(); - $table->foreignId('from_user_id'); - $table->foreignId('to_user_id'); - $table->text('data'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('chats'); - } -}; diff --git a/database/migrations/2023_07_26_145818_create_product_groups_table.php b/database/migrations/2023_07_26_145818_create_product_groups_table.php deleted file mode 100644 index eda63e4..0000000 --- a/database/migrations/2023_07_26_145818_create_product_groups_table.php +++ /dev/null @@ -1,33 +0,0 @@ -id(); - $table->string('name'); - $table->string('description')->nullable('')->default(''); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('product_groups'); - } -}; diff --git a/database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php b/database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php deleted file mode 100644 index 0a4e630..0000000 --- a/database/migrations/2023_07_26_150531_create_product_nutritional_values_table.php +++ /dev/null @@ -1,45 +0,0 @@ -id(); - $table->string('name')->unique(); - $table->string('image')->nullable()->default(''); - $table->foreignId('product_group_id'); - $table->string('description', 4096); - $table->string('formulations', 4096); - $table->integer('energy_on_100gr'); - $table->float('proteins_on_100gr', 8, 2); - $table->float('fats_on_100gr', 8, 2); - $table->float('carbohydrates_on_100gr', 8, 2); - $table->integer('portion_mass_gr')->nullable(0); - $table->float('energy_on_portion', 8, 2)->nullable(0); - $table->float('proteins_on_portion', 8, 2)->nullable(0); - $table->float('fats_on_portion', 8, 2)->nullable(0); - $table->float('carbohydrates_on_portion', 8, 2)->nullable(0); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('product_nutritional_values'); - } -}; diff --git a/database/migrations/2023_08_23_174247_create_finances_table.php b/database/migrations/2023_08_23_174247_create_finances_table.php deleted file mode 100644 index d611fd7..0000000 --- a/database/migrations/2023_08_23_174247_create_finances_table.php +++ /dev/null @@ -1,31 +0,0 @@ -id(); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::dropIfExists('finances'); - } -}; diff --git a/database/migrations/2023_08_30_135320_add_height_column_to_user_detailzs.php b/database/migrations/2023_08_30_135320_add_height_column_to_user_detailzs.php deleted file mode 100644 index 4e66ce2..0000000 --- a/database/migrations/2023_08_30_135320_add_height_column_to_user_detailzs.php +++ /dev/null @@ -1,28 +0,0 @@ -integer('height')->comment('user height in centimeters')->default(170)->after('weight'); - }); - } - - /** - * Reverse the migrations. - */ - public function down(): void - { - Schema::table('user_detailzs', function (Blueprint $table) { - $table->dropColumn('height'); - }); - } -}; diff --git a/database/migrations/2023_09_01_113622_add_fillable_to_table_user_detailz.php b/database/migrations/2023_09_01_113622_add_fillable_to_table_user_detailz.php deleted file mode 100644 index d2baebe..0000000 --- a/database/migrations/2023_09_01_113622_add_fillable_to_table_user_detailz.php +++ /dev/null @@ -1,30 +0,0 @@ -boolean('is_mood_fillable'); - $table->boolean('is_bedtime_fillable'); - }); - } - - /** - * Reverse the migrations. - */ - public function down(): void - { - Schema::table('user_detailzs', function (Blueprint $table) { - $table->dropColumn('is_mood_fillable'); - $table->dropColumn('is_bedtime_fillable'); - }); - } -}; diff --git a/database/migrations/2023_09_01_152657_add_is_public_to_users.php b/database/migrations/2023_09_01_152657_add_is_public_to_users.php deleted file mode 100644 index 73bec70..0000000 --- a/database/migrations/2023_09_01_152657_add_is_public_to_users.php +++ /dev/null @@ -1,28 +0,0 @@ -boolean('is_public_profile')->default(1)->comment('0 only friends, 1 all'); - }); - } - - /** - * Reverse the migrations. - */ - public function down(): void - { - Schema::table('users', function (Blueprint $table) { - $table->dropColumn('is_public_profile'); - }); - } -}; diff --git a/database/migrations/2023_09_14_145239_create_consultant_legal_entities_table.php b/database/migrations/2023_09_14_145239_create_consultant_legal_entities_table.php deleted file mode 100644 index bdc09d7..0000000 --- a/database/migrations/2023_09_14_145239_create_consultant_legal_entities_table.php +++ /dev/null @@ -1,46 +0,0 @@ -id(); - $table->foreignId('user_id')->constrained( - table: 'users', - indexName: 'consultant_legal_entities_user_id' - ); - $table->string('type')->default('selfemployed')->comment('ip|selfemployed|ltd'); - $table->string('inn')->default('')->comment('ИНН'); - $table->string('egrip')->default('')->comment('Номер записи в ЕГРИП для ИП'); - $table->string('ltd_name', 2048)->default('')->comment('Название OOO'); - $table->string('ltd_kpp')->default('')->comment('КПП ООО'); - $table->string('ltd_ogrn')->default('')->comment('ОГРН ООО'); - $table->string('ltd_legal_address', 2048)->default('')->comment('Юридический адрес ООО'); - $table->string('ltd_poste_address', 2048)->default('')->comment('Почтовый адрес ООО'); - $table->string('ltd_okved')->default('')->comment('ОКВЭД ООО'); - $table->string('ltd_ceo_name', 2048)->default('')->comment('ФИО Генерального директора ООО'); - $table->string('bank_account')->default('')->comment('Рассчетный счет'); - $table->string('bank_correspondent_account')->default('')->comment('корреспондентский счет'); - $table->string('bank_bik')->default('')->comment('БИК'); - $table->string('bank_name', 2048)->default('')->comment('Название Банка'); - $table->string('state')->default('published')->comment('published|appruved|cenceled'); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - */ - public function down(): void - { - Schema::dropIfExists('consultant_legal_entities'); - } -}; diff --git a/database/migrations/2023_12_20_105039_add_slug_to_plan.php b/database/migrations/2023_12_20_105039_add_slug_to_plan.php deleted file mode 100644 index 5c48db4..0000000 --- a/database/migrations/2023_12_20_105039_add_slug_to_plan.php +++ /dev/null @@ -1,28 +0,0 @@ -string('slug'); - }); - } - - /** - * Reverse the migrations. - */ - public function down(): void - { - Schema::table('plans', function (Blueprint $table) { - $table->dropColumn('slug'); - }); - } -}; diff --git a/database/seeders/BlogPostSeeder.php b/database/seeders/BlogPostSeeder.php deleted file mode 100644 index a5e4c02..0000000 --- a/database/seeders/BlogPostSeeder.php +++ /dev/null @@ -1,18 +0,0 @@ -call(PlanSeeder::class); - $this->call(UserSeeder::class); - $this->call(PlanAuthor::class); - $this->call(PlanCommentSeeder::class); - // $this->call(RecipeSeeder::class); - // \App\Models\User::factory(10)->create(); - } -} diff --git a/database/seeders/DietsSeeder.php b/database/seeders/DietsSeeder.php deleted file mode 100644 index c9d4c4e..0000000 --- a/database/seeders/DietsSeeder.php +++ /dev/null @@ -1,23 +0,0 @@ -count(10)->create(); - - $diets->each( - fn ($diet) => $diet->author()->attach(User::inRandomOrder()->first()) - ); - } -} diff --git a/database/seeders/PlanAuthor.php b/database/seeders/PlanAuthor.php deleted file mode 100644 index 1476c61..0000000 --- a/database/seeders/PlanAuthor.php +++ /dev/null @@ -1,25 +0,0 @@ - 0 && Plan::count() > 0) { - Plan::each(function ($plan) { - User::inRandomOrder() - ->first() - ->author_of_plans() - ->attach($plan->id); - }); - } - } -} diff --git a/database/seeders/PlanCommentSeeder.php b/database/seeders/PlanCommentSeeder.php deleted file mode 100755 index 77036ac..0000000 --- a/database/seeders/PlanCommentSeeder.php +++ /dev/null @@ -1,37 +0,0 @@ - 0 && Plan::count() > 0) { - $comments = PlanComment::factory()->count(5)->make(); - - $comments->each(function ($comment) { - $comment->author()->associate( - User::inRandomOrder() - ->first() - ->id - ); - - $comment->plan()->associate( - Plan::inRandomOrder() - ->first() - ->id - ); - - $comment->saveOrFail(); - }); - } - } -} diff --git a/database/seeders/PlanSeeder.php b/database/seeders/PlanSeeder.php deleted file mode 100755 index 5890103..0000000 --- a/database/seeders/PlanSeeder.php +++ /dev/null @@ -1,17 +0,0 @@ -count(10)->create(); - } -} diff --git a/database/seeders/UserSeeder.php b/database/seeders/UserSeeder.php deleted file mode 100644 index 2547948..0000000 --- a/database/seeders/UserSeeder.php +++ /dev/null @@ -1,59 +0,0 @@ -create(); - - $userDetailz = UserDetailz::factory()->make(); - - $userDetailz->user()->associate($user); - - $userDetailz->saveOrFail(); - - }, $this->getListUsers()); - } - - private function getListUsers(): array - { - $allUsersHash = Hash::make('1234567890'); - - return [ - ['id' => 3, 'name' => 'Анчоус Альф', 'email' => 'reshetnick.mike+user1@gmail.com', 'password' => $allUsersHash, 'is_consultant' => true], - ['id' => 4, 'name' => 'Чена Сибаину', 'email' => 'reshetnik.n+user1@gmail.com', 'password' => $allUsersHash, 'is_consultant' => true], - ['id' => 5, 'name' => 'Бруно Бармалей', 'email' => 'reshetnick.mike+user2@gmail.com', 'password' => $allUsersHash, 'is_consultant' => true], - ['id' => 6, 'name' => 'Варенник Васаби', 'email' => 'reshetnick.mike+user3@gmail.com', 'password' => $allUsersHash, 'is_consultant' => true], - ['id' => 7, 'name' => 'Денди Дуглас', 'email' => 'reshetnick.mike+user4@gmail.com', 'password' => $allUsersHash, 'is_consultant' => true], - ['id' => 8, 'name' => 'Ник Радченков', 'email' => 'reshetnik.n+user2@gmail.com', 'password' => $allUsersHash], - ['id' => 9, 'name' => 'Миса Кошка', 'email' => 'reshetnik.n+user3@gmail.com', 'password' => $allUsersHash], - - ['id' => 10, 'name' => 'Ерошка Есаул', 'email' => 'reshetnick.mike+user5@gmail.com', 'password' => $allUsersHash], - ['id' => 11, 'name' => 'Жмурка Живчик', 'email' => 'reshetnick.mike+user6@gmail.com', 'password' => $allUsersHash], - ['id' => 12, 'name' => 'Гошка Картошка', 'email' => 'reshetnik.n+user4@gmail.com', 'password' => $allUsersHash], - ['id' => 13, 'name' => 'Зефир Забияка', 'email' => 'reshetnick.mike+user7@gmail.com', 'password' => $allUsersHash], - ['id' => 14, 'name' => 'Антоша Одуван', 'email' => 'reshetnik.n+user5@gmail.com', 'password' => $allUsersHash], - ['id' => 15, 'name' => 'Кусик Кукусик', 'email' => 'reshetnik.n+user6@gmail.com', 'password' => $allUsersHash], - ['id' => 16, 'name' => 'Косик Кокосик', 'email' => 'reshetnik.n+user7@gmail.com', 'password' => $allUsersHash], - - ['id' => 17, 'name' => 'Хинкалька Вкусная', 'email' => 'reshetnik.n+user8@gmail.com', 'password' => $allUsersHash], - ['id' => 18, 'name' => 'Импульс Йети', 'email' => 'reshetnick.mike+user8@gmail.com', 'password' => $allUsersHash], - ['id' => 19, 'name' => 'Квики Кекс', 'email' => 'reshetnick.mike+user9@gmail.com', 'password' => $allUsersHash], - ['id' => 20, 'name' => 'Чебурек Сочный', 'email' => 'reshetnik.n+user9@gmail.com', 'password' => $allUsersHash], - ['id' => 21, 'name' => 'Клубника Дикая', 'email' => 'reshetnik.n+user10@gmail.com', 'password' => $allUsersHash], - ['id' => 22, 'name' => 'Ляпис Лапша', 'email' => 'reshetnick.mike+user10@gmail.com', 'password' => $allUsersHash], - ['id' => 23, 'name' => 'Друг Парадоксов', 'email' => 'reshetnick.mike+user11@gmail.com', 'password' => $allUsersHash], - ]; - } -} From 6b87d0593af16fe7ad7d40498182a5e71890a5bc Mon Sep 17 00:00:00 2001 From: Anatoliy Poloz Date: Mon, 22 Jan 2024 11:55:04 +0300 Subject: [PATCH 7/7] env example fix --- .env.infra-example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.infra-example b/.env.infra-example index 892cb1c..55c0279 100644 --- a/.env.infra-example +++ b/.env.infra-example @@ -11,4 +11,4 @@ MYSQL_ROOT_PASSWORD="nhbnhb22" MYSQL_DATABASE="eatvio" MYSQL_USER="eatvio_user" MYSQL_PASSWORD="eatvio_pass_nhbnhb22" -MY_APP_GIT_URL="ssh://git@10.55.5.123:222/apoloz/eatvio.git" +MY_APP_GIT_URL="ssh://git@10.55.5.123:222/eatvio/eatvio.git"