| Total Complexity | 2 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 17 | class CartSetKeyAction extends AbstractAction |
||
| 18 | { |
||
| 19 | public function fieldDefinitions() |
||
| 20 | { |
||
| 21 | return [ |
||
| 22 | 'action' => [static::TYPE => 'string'], |
||
| 23 | 'key' => [static::TYPE => 'string'], |
||
| 24 | ]; |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param array $data |
||
| 29 | * @param Context|callable $context |
||
| 30 | */ |
||
| 31 | public function __construct(array $data = [], $context = null) |
||
| 35 | } |
||
| 36 | } |
||
| 37 |