Blog   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 13
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A tableName() 0 4 1
1
<?php
2
3
namespace App\Modules\Blog\Models;
4
5
use Micro\Mvc\Models\Model;
6
7
/**
8
 * Class Blog
9
 *
10
 * @property int $id
11
 *
12
 * @package App
13
 * @subpackage Modules\Blog\Models
14
 */
15
class Blog extends Model
16
{
17
    public $name;
18
    public $content;
19
20
    /**
21
     * @return string
22
     */
23
    static public function tableName()
0 ignored issues
show
Coding Style introduced by
As per PSR2, the static declaration should come after the visibility declaration.
Loading history...
24
    {
25
        return 'blogs';
26
    }
27
}
28