1 | <?php |
||
9 | class CreateBookableBookingsTable extends Migration |
||
|
|||
10 | { |
||
11 | /** |
||
12 | * Run the migrations. |
||
13 | * |
||
14 | * @return void |
||
15 | */ |
||
16 | public function up(): void |
||
38 | |||
39 | /** |
||
40 | * Reverse the migrations. |
||
41 | * |
||
42 | * @return void |
||
43 | */ |
||
44 | public function down(): void |
||
48 | |||
49 | /** |
||
50 | * Get jsonable column data type. |
||
51 | * |
||
52 | * @return string |
||
53 | */ |
||
54 | protected function jsonable(): string |
||
60 | } |
||
61 |
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.