1 | <?php |
||
3 | class StatUserEntity extends Oc\Repository\AbstractEntity |
||
|
|||
4 | { |
||
5 | /** @var int */ |
||
6 | public $userId; |
||
7 | |||
8 | /** @var smallint */ |
||
9 | public $found; |
||
10 | |||
11 | /** @var smallint */ |
||
12 | public $notfound; |
||
13 | |||
14 | /** @var smallint */ |
||
15 | public $note; |
||
16 | |||
17 | /** @var smallint */ |
||
18 | public $hidden; |
||
19 | |||
20 | /** @var smallint */ |
||
21 | public $willAttend; |
||
22 | |||
23 | /** @var smallint */ |
||
24 | public $maintenance; |
||
25 | |||
26 | /** |
||
27 | * @return bool |
||
28 | */ |
||
29 | public function isNew() |
||
33 | } |
||
34 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.