| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 12 |     public function toOptionArray() { | ||
| 13 | return [ | ||
| 14 |             ['value' => 1, 'label' => Mage::helper('yandexdelivery')->__('Ставка НДС 18%')], | ||
| 15 |             ['value' => 2, 'label' => Mage::helper('yandexdelivery')->__('Ставка НДС 10%')], | ||
| 16 |             ['value' => 3, 'label' => Mage::helper('yandexdelivery')->__('Ставка НДС расч. 18/118')], | ||
| 17 |             ['value' => 4, 'label' => Mage::helper('yandexdelivery')->__('Ставка НДС расч. 10/110')], | ||
| 18 |             ['value' => 5, 'label' => Mage::helper('yandexdelivery')->__('Ставка НДС 0%')], | ||
| 19 |             ['value' => 6, 'label' => Mage::helper('yandexdelivery')->__('НДС не облагается')] | ||
| 20 | ]; | ||
| 21 | } | ||
| 22 | |||
| 24 | 
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.