| 1 | <?php |
||
| 3 | class GeoCacheSizeEntity extends Oc\Repository\AbstractEntity |
||
|
|
|||
| 4 | { |
||
| 5 | /** @var int */ |
||
| 6 | public $id; |
||
| 7 | |||
| 8 | /** @var string */ |
||
| 9 | public $name; |
||
| 10 | |||
| 11 | /** @var int */ |
||
| 12 | public $transId; |
||
| 13 | |||
| 14 | /** @var int */ |
||
| 15 | public $ordinal; |
||
| 16 | |||
| 17 | /** @var string */ |
||
| 18 | public $de; |
||
| 19 | |||
| 20 | /** @var string */ |
||
| 21 | public $en; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @return bool |
||
| 25 | */ |
||
| 26 | public function isNew() |
||
| 30 | } |
||
| 31 |
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.