Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | return new class () extends Migration { |
||
10 | /** |
||
11 | * Run the migrations. |
||
12 | * |
||
13 | * @return void |
||
14 | */ |
||
15 | public function up() |
||
16 | { |
||
17 | Schema::create('events', function (Blueprint $collection) { |
||
|
|||
18 | // |
||
19 | }); |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * Reverse the migrations. |
||
24 | * |
||
25 | * @return void |
||
26 | */ |
||
27 | public function down() |
||
30 | } |
||
31 | }; |
||
32 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.