| Total Complexity | 2 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | trait AddActionTypeTrait |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Add action type. |
||
| 19 | * |
||
| 20 | * @param string $type |
||
| 21 | * @param array<string, string|int|float|bool|array<string, string|int|float|bool>> $filter |
||
| 22 | * @param string|null $agenda |
||
| 23 | * |
||
| 24 | * @throws PohodaException |
||
| 25 | * @throws \ReflectionException |
||
| 26 | * |
||
| 27 | * @return $this |
||
| 28 | */ |
||
| 29 | 8 | public function addActionType(string $type, array $filter = [], ?string $agenda = null): self |
|
| 52 |