| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class DiscountTierTypeTask extends BuildTask |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $title = "Foxy Discounts - Discount Tier Type Task"; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | */ |
||
| 24 | protected $description = "Set the new ParentType field for existing Discount Tier records."; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | private static $segment = 'foxy-discounts-discount-tier-type-task'; |
||
|
1 ignored issue
–
show
|
|||
| 30 | |||
| 31 | /** |
||
| 32 | * @param HTTPRequest $request |
||
| 33 | * @throws ValidationException |
||
| 34 | */ |
||
| 35 | public function run($request) |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @throws ValidationException |
||
| 42 | */ |
||
| 43 | protected function setParentTypes() |
||
| 52 |