| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | public function down() |
||
| 46 | { |
||
| 47 | Schema::table('workflow_guards', function(Blueprint $table) { |
||
| 48 | $table->dropForeign('workflow_guards_workflow_id_foreign'); |
||
| 49 | }); |
||
| 50 | Schema::table('workflow_guards', function(Blueprint $table) { |
||
| 51 | $table->dropForeign('workflow_guards_transition_id_foreign'); |
||
| 52 | }); |
||
| 53 | Schema::table('workflow_guards', function(Blueprint $table) { |
||
| 54 | $table->dropForeign('workflow_guards_permission_id_foreign'); |
||
| 55 | }); |
||
| 56 | } |
||
| 57 | } |
||
| 58 |
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.