Passed
Push — 127-support-multidimensional-i... ( fe24b7...03f2d3 )
by Bas
05:26
created

  A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace TestSetup\Database\Migrations;
4
5
use Illuminate\Database\Migrations\Migration;
6
use LaravelFreelancerNL\Aranguent\Facades\Schema;
7
use LaravelFreelancerNL\Aranguent\Schema\Blueprint;
8
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) {
0 ignored issues
show
Unused Code introduced by
The parameter $collection is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

17
        Schema::create('events', function (/** @scrutinizer ignore-unused */ Blueprint $collection) {

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
18
            //
19
        });
20
    }
21
22
    /**
23
     * Reverse the migrations.
24
     *
25
     * @return void
26
     */
27
    public function down()
28
    {
29
        Schema::dropIfExists('events');
30
    }
31
};
32