| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function up() |
||
| 15 | { |
||
| 16 | Schema::create('laralang', function (Blueprint $table) { |
||
| 17 | $table->increments('id'); |
||
| 18 | $table->string('translator')->default('Unknoun'); |
||
| 19 | $table->string('alias')->unique()->default('Unknoun'); |
||
| 20 | $table->string('string')->default('Unknoun'); |
||
| 21 | $table->string('from_lang')->default('Unknoun'); |
||
| 22 | $table->string('to_lang')->default('Unknoun'); |
||
| 23 | $table->string('translation')->default('Unknoun'); |
||
| 24 | $table->timestamps(); |
||
| 25 | }); |
||
| 26 | } |
||
| 27 | |||
| 38 |
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.