From 95c61e8ab2a260de6f66cbeb1706437dffe4ce46 Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Thu, 19 May 2016 00:18:48 +0200 Subject: [PATCH] Add typehint to migration --- src/database/2016_05_18_000000_teamwork_setup_tables.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/database/2016_05_18_000000_teamwork_setup_tables.php b/src/database/2016_05_18_000000_teamwork_setup_tables.php index a8beae8..62270e5 100644 --- a/src/database/2016_05_18_000000_teamwork_setup_tables.php +++ b/src/database/2016_05_18_000000_teamwork_setup_tables.php @@ -19,7 +19,7 @@ public function up() } ); - Schema::create( \Config::get( 'teamwork.teams_table' ), function ( $table ) + Schema::create( \Config::get( 'teamwork.teams_table' ), function ( Blueprint $table ) { $table->increments( 'id' )->unsigned(); $table->integer( 'owner_id' )->unsigned()->nullable(); @@ -27,7 +27,7 @@ public function up() $table->timestamps(); } ); - Schema::create( \Config::get( 'teamwork.team_user_table' ), function ( $table ) + Schema::create( \Config::get( 'teamwork.team_user_table' ), function ( Blueprint $table ) { $table->integer( 'user_id' )->unsigned(); $table->integer( 'team_id' )->unsigned();