Skip to content

Firefly III: a personal finances manager

Bit of code cleanup courtesy of PHPStorm.

James Cole3fe831c7d804
diff --git a/database/migrations/2016_09_12_121359_fix_nullables.php b/database/migrations/2016_09_12_121359_fix_nullables.php
index cb51287c9f..3a9044d9dc 100644
--- a/database/migrations/2016_09_12_121359_fix_nullables.php
+++ b/database/migrations/2016_09_12_121359_fix_nullables.php
@@ -1,9 +1,23 @@
<?php
-use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+
+/**
+ * Class FixNullables
+ */
+class FixNullables extends Migration
+{
+
+ /**
+ * Reverse the migrations.
+ *
+ * @return void
+ */
+ public function down()
+ {
-class FixNullables extends Migration {
+ }
/**
* Run the migrations.
@@ -13,27 +27,15 @@ class FixNullables extends Migration {
public function up()
{
Schema::table(
- 'rule_groups', function (Blueprint $table)
- {
+ 'rule_groups', function (Blueprint $table) {
$table->text('description')->nullable()->change();
}
);
Schema::table(
- 'rules', function (Blueprint $table)
- {
+ 'rules', function (Blueprint $table) {
$table->text('description')->nullable()->change();
}
);
}
-
- /**
- * Reverse the migrations.
- *
- * @return void
- */
- public function down()
- {
-
- }
}