| Total Complexity | 5 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 10 | abstract class AbstractGesture implements \JsonSerializable |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @param GestureType $type The type of gesture |
||
| 14 | * @param AbstractStandardCommand[]|null $onCancel Commands to run when gesture is cancelled |
||
| 15 | * @param bool|null $when APL boolean expression controlling whether this gesture is active |
||
| 16 | */ |
||
| 17 | 20 | public function __construct( |
|
| 22 | 20 | } |
|
| 23 | |||
| 24 | 12 | public function jsonSerialize(): array |
|
| 41 |