| Total Complexity | 8 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 9 | class Action implements \JsonSerializable |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param AbstractStandardCommand|null $command Single command to run |
||
| 13 | * @param AbstractStandardCommand[]|null $commands Array of commands to run |
||
| 14 | * @param bool $enabled Whether the action is enabled |
||
| 15 | * @param string|null $label Label for the action |
||
| 16 | * @param string|null $name Name of the action |
||
| 17 | */ |
||
| 18 | 8 | public function __construct( |
|
| 25 | 8 | } |
|
| 26 | |||
| 27 | 5 | public function jsonSerialize(): array |
|
| 54 |