1 | <?php |
||
3 | class QueriesEntity extends Oc\Repository\AbstractEntity |
||
|
|||
4 | { |
||
5 | /** @var int */ |
||
6 | public $id; |
||
7 | |||
8 | /** @var int */ |
||
9 | public $userId; |
||
10 | |||
11 | /** @var string */ |
||
12 | public $name; |
||
13 | |||
14 | /** @var blob */ |
||
15 | public $options; |
||
16 | |||
17 | /** @var DateTime */ |
||
18 | public $lastQueried; |
||
19 | |||
20 | /** |
||
21 | * @return bool |
||
22 | */ |
||
23 | public function isNew() |
||
27 | } |
||
28 |
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.