Passed
Pull Request — master (#18)
by
unknown
03:05
created

BrokerUser   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getTable() 0 3 1
1
<?php
2
3
namespace Zefy\LaravelSSO\Models;
4
5
use Illuminate\Database\Eloquent\Model;
6
use Illuminate\Database\Eloquent\SoftDeletes;
7
8
class BrokerUser extends Model
9
{
10
    use SoftDeletes;
11
     /**
12
     * Get the table associated with the model.
13
     *
14
     * @return string
15
     */
16
    public function getTable()
17
    {
18
        return config('laravel-sso.brokerUserTable', 'broker_user');
19
    }
20
}
21