| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 13 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | View Code Duplication | public function migrateDown() |
|
| 39 | { |
||
| 40 | try { |
||
| 41 | $this->builder->table( |
||
| 42 | $this->table, |
||
| 43 | function ($table) { |
||
| 44 | $table->string('value')->change(); |
||
| 45 | } |
||
| 46 | ); |
||
| 47 | } catch (\Exception $e) { |
||
| 48 | dd($e->getMessage()); |
||
| 49 | } |
||
| 50 | } |
||
| 51 | } |
||
| 52 |
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.