Add void to a lot of methods.

This commit is contained in:
James Cole
2023-12-21 05:06:17 +01:00
parent 655d03bec4
commit 135b9fc010
60 changed files with 390 additions and 390 deletions

View File

@@ -39,7 +39,7 @@ return new class() extends Migration {
try {
Schema::table(
'currency_exchange_rates',
static function (Blueprint $table) {
static function (Blueprint $table): void {
if (!Schema::hasColumn('currency_exchange_rates', 'user_group_id')) {
$table->bigInteger('user_group_id', false, true)->nullable()->after('user_id');
$table->foreign('user_group_id', 'cer_to_ugi')->references('id')->on('user_groups')->onDelete('set null')->onUpdate('cascade');
@@ -60,7 +60,7 @@ return new class() extends Migration {
try {
Schema::table(
'currency_exchange_rates',
static function (Blueprint $table) {
static function (Blueprint $table): void {
if ('sqlite' !== config('database.default')) {
$table->dropForeign('cer_to_ugi');
}