Passed
Push — master ( 3f9e32...06cdc3 )
by Martynas
04:53 queued 02:44
created

Broker   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 10
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
7
class Broker extends Model
8
{
9
    /**
10
     * Get the table associated with the model.
11
     *
12
     * @return string
13
     */
14
    public function getTable()
15
    {
16
        return config('laravel-sso.brokersTable', 'brokers');
17
    }
18
}
19