| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 18 | 
| Code Lines | 13 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 9 | public function up()  | 
            ||
| 10 | 	{ | 
            ||
| 11 | 		Schema::table('ap_murnis', function(Blueprint $table) { | 
            ||
| 12 | 			$table->foreign('province_id')->references('id')->on('provinces') | 
            ||
| 13 | 						->onDelete('set null') | 
            ||
| 14 | 						->onUpdate('restrict'); | 
            ||
| 15 | });  | 
            ||
| 16 | 		Schema::table('ap_murnis', function(Blueprint $table) { | 
            ||
| 17 | 			$table->foreign('regency_id')->references('id')->on('regencies') | 
            ||
| 18 | 						->onDelete('set null') | 
            ||
| 19 | 						->onUpdate('restrict'); | 
            ||
| 20 | });  | 
            ||
| 21 | 		Schema::table('regencies', function(Blueprint $table) { | 
            ||
| 22 | 			$table->foreign('province_id')->references('id')->on('provinces') | 
            ||
| 23 | 						->onDelete('set null') | 
            ||
| 24 | 						->onUpdate('restrict'); | 
            ||
| 25 | });  | 
            ||
| 26 | }  | 
            ||
| 27 | |||
| 40 | }  | 
            
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.