Table   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Importance

Changes 4
Bugs 0 Features 0
Metric Value
eloc 5
c 4
b 0
f 0
dl 0
loc 23
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 3 1
1
<?php
2
3
/**
4
 * @namespace
5
 */
6
7
namespace Application\UsersProfiles;
8
9
/**
10
 * Class Table for `users_profiles`
11
 *
12
 * @package  Application\UsersProfiles
13
 *
14
 * @author   dev
15
 * @created  2017-10-18 14:23:20
16
 */
17
class Table extends \Bluz\Db\Table
0 ignored issues
show
Bug introduced by
The type Bluz\Db\Table was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
18
{
19
    /**
20
     * @var string
21
     */
22
    protected $name = 'users_profiles';
23
24
    protected $rowClass = Row::class;
25
26
    /**
27
     * Primary key(s)
28
     * @var array
29
     */
30
    protected $primary = ['userId'];
31
32
    /**
33
     * init
34
     *
35
     * @return void
36
     */
37
    public function init(): void
38
    {
39
        $this->linkTo('userId', 'Users', 'id');
40
    }
41
}
42