Completed
Pull Request — master (#23)
by ARCANEDEV
08:29
created

Auth   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A publishMigrations() 0 4 1
1
<?php namespace Arcanedev\LaravelAuth;
2
3
/**
4
 * Class     Auth
5
 *
6
 * @package  Arcanedev\LaravelAuth
7
 * @author   ARCANEDEV <[email protected]>
8
 */
9
class Auth
10
{
11
    /* -----------------------------------------------------------------
12
     |  Properties
13
     | -----------------------------------------------------------------
14
     */
15
    /**
16
     * Indicates if Passport migrations will be run.
17
     *
18
     * @var bool
19
     */
20
    public static $runsMigrations = true;
21
22
    /* -----------------------------------------------------------------
23
     |  Main Methods
24
     | -----------------------------------------------------------------
25
     */
26
    /**
27
     * Publish the migrations.
28
     */
29 225
    public static function publishMigrations()
30
    {
31 225
        static::$runsMigrations = false;
32 225
    }
33
}
34