mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Add void to a lot of methods.
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user