Skip to content

Commit

Permalink
Adds types to migrations (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Jan 3, 2023
1 parent 3325e0b commit d823587
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,8 @@
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
public function up(): void
{
Schema::create('personal_access_tokens', function (Blueprint $table) {
$table->id();
Expand All @@ -27,10 +25,8 @@ public function up()

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
public function down(): void
{
Schema::dropIfExists('personal_access_tokens');
}
Expand Down

0 comments on commit d823587

Please sign in to comment.