| Conditions | 2 |
| Paths | 2 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function up() |
||
| 15 | { |
||
| 16 | if (config('multi-tenant.use_roles_and_permissions')) { |
||
| 17 | Schema::create('multi_tenant_roles', function (Blueprint $table) { |
||
| 18 | $table->increments('id'); |
||
| 19 | $table->string('name'); |
||
| 20 | $table->string('label')->nullable(); |
||
| 21 | $table->text('description')->nullable(); |
||
| 22 | $table->timestamps(); |
||
| 23 | }); |
||
| 24 | } |
||
| 25 | } |
||
| 26 | |||
| 39 |
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.