| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 7 |
| Ratio | 100 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | View Code Duplication | public function up() |
|
| 9 | { |
||
| 10 | Schema::table('users', function(Blueprint $table) { |
||
| 11 | $table->string('email')->nullable()->change(); |
||
| 12 | $table->boolean('is_social')->nullable()->default(0); |
||
| 13 | }); |
||
| 14 | } |
||
| 15 | |||
| 23 | } |
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.