| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | <?php |
||
| 28 | public function getCMSFields() { |
||
| 29 | $fields = parent::getCMSFields(); |
||
| 30 | |||
| 31 | $fields->addFieldsToTab('Root.Main', array( |
||
| 32 | TextField::create('Property', _t('SetPropertyWorkflowAction.PROPERTY', 'Property')) |
||
| 33 | ->setRightTitle(_t('SetPropertyWorkflowAction.PROPERTYTITLE', 'Property to set; if this exists as a setter method, will be called passing the value')), |
||
| 34 | TextField::create('Value', 'Value') |
||
| 35 | )); |
||
| 36 | |||
| 37 | return $fields; |
||
| 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.