| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function up() |
||
| 20 | { |
||
| 21 | Schema::create('paypal_accounts', function (Blueprint $table) { |
||
| 22 | $table->increments('id'); |
||
| 23 | |||
| 24 | $table->string('some_id'); |
||
| 25 | |||
| 26 | $table->integer('user_id')->unsigned(); |
||
| 27 | $table->foreign('user_id')->references('id')->on('users'); |
||
| 28 | |||
| 29 | $table->timestamps(); |
||
| 30 | $table->softDeletes(); |
||
| 31 | }); |
||
| 32 | } |
||
| 33 | |||
| 44 |
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.