| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public function up() |
||
| 15 | { |
||
| 16 | Schema::create('hits', function (Blueprint $table) { |
||
|
|
|||
| 17 | $table->increments('id'); |
||
| 18 | $table->integer('link_id')->unsigned()->nullable(); |
||
| 19 | $table->string('ip')->nullable(); |
||
| 20 | $table->string('user_agent')->nullable(); |
||
| 21 | $table->timestamps(); |
||
| 22 | |||
| 23 | $table->foreign('link_id') |
||
| 24 | ->references('id')->on('links') |
||
| 25 | ->onDelete('cascade'); |
||
| 26 | }); |
||
| 27 | } |
||
| 28 | |||
| 39 |
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.