Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
46 | private static function startTimer() |
||
47 | { |
||
48 | if (! empty(Workflow::serviceEnabled())) { |
||
49 | return Item::create() |
||
50 | ->uid('start_timer') |
||
51 | ->title('Start "' . self::userInput() . '"') |
||
52 | ->mod( |
||
53 | Cmd::create() |
||
54 | ->subtitle('Continue a timer') |
||
55 | ->arg('choose_timer') |
||
56 | ) |
||
57 | ->arg('choose_project') |
||
58 | ->variable('timer_description', self::userInput()); |
||
59 | } |
||
60 | } |
||
61 | |||
73 |