Blog::tableName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
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