1 | <?php |
||
3 | class GeodbPolygonsEntity extends Oc\Repository\AbstractEntity |
||
|
|||
4 | { |
||
5 | /** @var int */ |
||
6 | public $polygonId; |
||
7 | |||
8 | /** @var int */ |
||
9 | public $seqNo; |
||
10 | |||
11 | /** @var float */ |
||
12 | public $lon; |
||
13 | |||
14 | /** @var float */ |
||
15 | public $lat; |
||
16 | |||
17 | /** |
||
18 | * @return bool |
||
19 | */ |
||
20 | public function isNew() |
||
24 | } |
||
25 |
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.