| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | public function up() |
||
| 14 | { |
||
| 15 | Schema::create('sessions', function(Blueprint $table) |
||
| 16 | { |
||
| 17 | $table->string('id', 191)->unique(); |
||
| 18 | $table->integer('admin_id')->unsigned()->nullable(); |
||
| 19 | $table->string('ip_address', 45)->nullable(); |
||
| 20 | $table->text('user_agent', 65535)->nullable(); |
||
|
|
|||
| 21 | $table->text('payload', 65535); |
||
| 22 | $table->integer('last_activity'); |
||
| 23 | }); |
||
| 38 |
This check compares calls to functions or methods with their respective definitions. If the call has more arguments than are defined, it raises an issue.
If a function is defined several times with a different number of parameters, the check may pick up the wrong definition and report false positives. One codebase where this has been known to happen is Wordpress. Please note the @ignore annotation hint above.