1 | <?php |
||
7 | class CreateImportRecordsTable extends Migration |
||
|
|||
8 | { |
||
9 | /** |
||
10 | * Run the migrations. |
||
11 | * |
||
12 | * @return void |
||
13 | */ |
||
14 | public function up() |
||
25 | |||
26 | /** |
||
27 | * Reverse the migrations. |
||
28 | * |
||
29 | * @return void |
||
30 | */ |
||
31 | public function down() |
||
35 | |||
36 | /** |
||
37 | * Get jsonable column data type. |
||
38 | * |
||
39 | * @return string |
||
40 | */ |
||
41 | protected function jsonable(): string |
||
47 | } |
||
48 |
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.