From 46d5b74d2e01da071200344bacde3151ae8cf89f Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Thu, 1 Jan 2015 13:42:27 +0000 Subject: [PATCH] CS fixes --- ...720_AlterTableComponentsAddOrderColumn.php | 48 +++++++++---------- 1 file changed, 23 insertions(+), 25 deletions(-) diff --git a/app/database/migrations/2015_01_01_122720_AlterTableComponentsAddOrderColumn.php b/app/database/migrations/2015_01_01_122720_AlterTableComponentsAddOrderColumn.php index 358241d5..24d2ba92 100644 --- a/app/database/migrations/2015_01_01_122720_AlterTableComponentsAddOrderColumn.php +++ b/app/database/migrations/2015_01_01_122720_AlterTableComponentsAddOrderColumn.php @@ -1,33 +1,31 @@ tinyInteger('order')->default(0)->after('status'); + }); + } - /** - * Run the migrations. - * - * @return void - */ - public function up() - { - Schema::table('components', function(Blueprint $table) { - $table->tinyInteger('order')->default(0)->after('status'); - }); - } - - /** - * Reverse the migrations. - * - * @return void - */ - public function down() - { - Schema::table('components', function(Blueprint $table) { - $table->dropColumn('order'); - }); - } - + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('components', function (Blueprint $table) { + $table->dropColumn('order'); + }); + } }