| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function up() |
||
| 16 | { |
||
| 17 | $this->getSchema()->create('blacklists', function($table) { |
||
| 18 | $table->increments('id'); |
||
| 19 | $table->integer('user_id')->unsigned(); |
||
| 20 | $table->integer('target_id')->unsigned(); |
||
| 21 | $table->string('comment')->nullable(); |
||
| 22 | $table->timestamps(); |
||
| 23 | }); |
||
| 24 | parent::up(); |
||
| 25 | } |
||
| 45 | } |
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.