Total Complexity | 5 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
6 | class BaseModel extends Model |
||
7 | { |
||
8 | /** |
||
9 | * construct |
||
10 | * @param array $attributes |
||
11 | */ |
||
12 | public function __construct(array $attributes = array()) |
||
16 | } |
||
17 | |||
18 | /** |
||
19 | * check existing slug |
||
20 | * @param string $slug |
||
21 | * @return object |
||
22 | */ |
||
23 | protected function getExistingSlugs($slug) |
||
46 | } |
||
47 | } |
Checks if undeclared accessed properties appear in database migrations and if the creating migration is correct.