]> BookStack Code Mirror - bookstack/blobdiff - database/migrations/2021_12_07_111343_create_webhooks_table.php
Migrations: Updated with type hints instead of php doc
[bookstack] / database / migrations / 2021_12_07_111343_create_webhooks_table.php
index 15d4851d68f46ef75f54ef5e599c1ba56e701620..69be2273db07248f868d6900b1fe2da234282244 100644 (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');