1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-09 10:22:51 +03:00

Migrations: Updated with type hints instead of php doc

Also updated code to properly import used facades.
For #4903
This commit is contained in:
Dan Brown
2024-03-17 15:29:09 +00:00
parent d6b7717985
commit 45d52f27ae
83 changed files with 241 additions and 523 deletions

View File

@@ -8,10 +8,8 @@ return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
public function up(): void
{
Schema::create('webhooks', function (Blueprint $table) {
$table->increments('id');
@@ -37,10 +35,8 @@ return new class extends Migration
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
public function down(): void
{
Schema::dropIfExists('webhooks');
Schema::dropIfExists('webhook_tracked_events');