We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1531dcd commit 64bb85eCopy full SHA for 64bb85e
database/migrations/2017_04_29_093723_create_gateways_table.php
@@ -4,14 +4,13 @@
4
use Illuminate\Database\Schema\Blueprint;
5
use Illuminate\Database\Migrations\Migration;
6
7
-class CreateGatewaysTable extends Migration
8
-{
+return new class () extends Migration {
9
/**
10
* Run the migrations.
11
*
12
* @return void
13
*/
14
- public function up()
+ public function up(): void
15
{
16
Schema::create('gateways', function (Blueprint $table) {
17
$table->string('id', 32)->primary('id');
@@ -30,8 +29,8 @@ public function up()
30
29
31
32
33
- public function down()
+ public function down(): void
34
35
Schema::dropIfExists('gateways');
36
}
37
-}
+};
0 commit comments