1 | <?php |
||
9 | class CreateImportRecordsTable extends Migration |
||
|
|||
10 | { |
||
11 | /** |
||
12 | * Run the migrations. |
||
13 | * |
||
14 | * @return void |
||
15 | */ |
||
16 | public function up() |
||
27 | |||
28 | /** |
||
29 | * Reverse the migrations. |
||
30 | * |
||
31 | * @return void |
||
32 | */ |
||
33 | public function down() |
||
37 | |||
38 | /** |
||
39 | * Get jsonable column data type. |
||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | protected function jsonable(): string |
||
49 | } |
||
50 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.