| Total Complexity | 4 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 10 | class Tap extends AbstractGesture |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @param AbstractStandardCommand[]|null $onTap Commands to run when a tap occurs |
||
| 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 | 5 | public function __construct( |
|
| 23 | } |
||
| 24 | |||
| 25 | 3 | public function jsonSerialize(): array |
|
| 36 |