Passed
Push — master ( db71b9...272130 )
by Darío
04:27
created

module/Auth/source/Model/Role.php (1 issue)

Labels
Severity
1
<?php
2
3
namespace Auth\Model;
4
5
use Drone\Db\Entity;
6
7
class Role extends Entity
8
{
9
	/**
10
	 * @var integer
11
	 */
12
    public $ROLE_ID;
13
14
	/**
15
	 * @var string
16
	 */
17
    public $ROLE_NAME;
18
19
	/**
20
	 * @var string
21
	 */
22
    public $STATE;
23
24
	/**
25
	 * @var date
0 ignored issues
show
The type Auth\Model\date 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...
26
	 */
27
    public $RECORD_DATE;
28
29
    public function __construct($data = [])
30
    {
31
    	parent::__construct($data);
32
33
		$config = include 'module/Auth/config/user.config.php';
34
		$prefix = $config["database"]["prefix"];
35
36
        $this->setTableName($prefix . "_" . "ROLE");
37
    }
38
}