1 | <?php |
||
11 | class SemanticFormsSelect { |
||
|
|||
12 | |||
13 | /** |
||
14 | * @since 1.0 |
||
15 | */ |
||
16 | public static function initExtension() { |
||
39 | |||
40 | /** |
||
41 | * @since 1.0 |
||
42 | */ |
||
43 | public static function onExtensionFunction() { |
||
53 | |||
54 | /** |
||
55 | * @since 1.0 |
||
56 | * |
||
57 | * @param string $dependency |
||
58 | * |
||
59 | * @return string|null |
||
60 | */ |
||
61 | public static function getVersion( $dependency = null ) { |
||
73 | |||
74 | } |
||
75 |
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.