Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
20 | 6 | private static function apikey() |
|
21 | { |
||
22 | 6 | global $argv; |
|
23 | |||
24 | 6 | return Item::create() |
|
25 | 6 | ->title('Enter your API token above') |
|
26 | 6 | ->subtitle('Save ' . self::userInput()) |
|
27 | 6 | ->arg('toggl_setup_apikey_save') |
|
28 | 6 | ->variable('toggl_apikey', self::userInput()) |
|
29 | 6 | ->icon(Icon::create('resources/icons/toggl.png')); |
|
30 | } |
||
41 |