From bf5321ac480ee2ca11f8abb197e7f03dc32317cb Mon Sep 17 00:00:00 2001 From: Alex Justesen Date: Wed, 24 Apr 2024 18:55:50 -0400 Subject: [PATCH] added PHP type hints to database migration --- migrations/2018_12_14_000000_create_favorites_table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrations/2018_12_14_000000_create_favorites_table.php b/migrations/2018_12_14_000000_create_favorites_table.php index b64f320..106aff8 100644 --- a/migrations/2018_12_14_000000_create_favorites_table.php +++ b/migrations/2018_12_14_000000_create_favorites_table.php @@ -9,7 +9,7 @@ /** * Run the migrations. */ - public function up() + public function up(): void { Schema::create(config('favorite.favorites_table'), function (Blueprint $table) { $table->id(); @@ -22,7 +22,7 @@ public function up() /** * Reverse the migrations. */ - public function down() + public function down(): void { Schema::dropIfExists(config('favorite.favorites_table')); }