Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | public function up() |
||
15 | { |
||
16 | Schema::create('role_user', function (Blueprint $table) { |
||
|
|||
17 | $table->increments('id'); |
||
18 | $table->integer('user_id')->unsigned()->index(); |
||
19 | $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); |
||
20 | $table->integer('role_id')->unsigned()->index(); |
||
21 | $table->foreign('role_id')->references('id')->on('roles')->onDelete('no action'); |
||
22 | $table->timestamps(); |
||
23 | }); |
||
24 | } |
||
25 | |||
38 |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.