Migration   A
last analyzed

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\LaravelMessenger\Bases;
6
7
use Arcanedev\Support\Database\Migration as BaseMigration;
8
9
/**
10
 * Class     Migration
11
 *
12
 * @package  Arcanedev\LaravelMessenger\Bases
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 252
    public function __construct()
26
    {
27 252
        $this->setConnection(config('messenger.database.connection'));
28 252
        $this->setPrefix(config('messenger.database.prefix'));
29 252
    }
30
}
31