| 1 | <?php |
||
| 16 | class Mage_Weee_Helper_Data extends Zookal_Mock_Model_Mocks_Abstract |
||
|
|
|||
| 17 | { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Fixes a bug in Mage_Tax_Block_Checkout_Tax::getAllWeee() where getApplied() cannot return null |
||
| 21 | * as otherwise the foreach would fail |
||
| 22 | * |
||
| 23 | * Returns applied weee taxes |
||
| 24 | * |
||
| 25 | * @param Mage_Sales_Model_Quote_Item_Abstract $item |
||
| 26 | * |
||
| 27 | * @return array |
||
| 28 | */ |
||
| 29 | public function getApplied($item) |
||
| 33 | } |
||
| 34 |
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.