1 | <?php |
||
15 | class WordPoints_BP_Entity_Group_Status extends WordPoints_Entity_Attr_Field { |
||
|
|||
16 | |||
17 | /** |
||
18 | * @since 1.0.0 |
||
19 | */ |
||
20 | protected $storage_type = 'db'; |
||
21 | |||
22 | /** |
||
23 | * @since 1.0.0 |
||
24 | */ |
||
25 | protected $data_type = 'text'; |
||
26 | |||
27 | /** |
||
28 | * @since 1.0.0 |
||
29 | */ |
||
30 | protected $field = 'status'; |
||
31 | |||
32 | /** |
||
33 | * @since 1.0.0 |
||
34 | */ |
||
35 | public function get_title() { |
||
38 | } |
||
39 | |||
41 |
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.