| 1 | <?php |
||
| 16 | class Mage_AdminNotification_Model_Inbox extends Zookal_Mock_Model_Mocks_Abstract |
||
|
|
|||
| 17 | { |
||
| 18 | const SEVERITY_CRITICAL = 1; |
||
| 19 | const SEVERITY_MAJOR = 2; |
||
| 20 | const SEVERITY_MINOR = 3; |
||
| 21 | const SEVERITY_NOTICE = 4; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Parse and save new data |
||
| 25 | * |
||
| 26 | * @param array $data |
||
| 27 | * |
||
| 28 | * @return Mage_AdminNotification_Model_Inbox |
||
| 29 | */ |
||
| 30 | public function parse(array $data) |
||
| 35 | } |
||
| 36 |
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.