Completed
Push — master ( e5dd4f...d6765d )
by ARCANEDEV
01:24
created

Migration   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 16
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Arcanedev\LaravelNotes\Database;
6
7
use Arcanedev\Support\Database\Migration as BaseMigration;
8
9
/**
10
 * Class     Migration
11
 *
12
 * @package  Arcanedev\LaravelNotes\Database
13
 * @author   ARCANEDEV <[email protected]>
14
 */
15
abstract class Migration extends BaseMigration
16
{
17
    /* -----------------------------------------------------------------
18
     |  Constructor
19
     | -----------------------------------------------------------------
20
     */
21
22
    /**
23
     * Migration constructor.
24
     */
25 66
    public function __construct()
26
    {
27 66
        $this->setConnection(config('notes.database.connection'));
28 66
        $this->setPrefix(config('notes.database.prefix'));
29 66
    }
30
}
31