| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class SetupApikey extends Menu |
||
| 11 | { |
||
| 12 | 6 | public static function scriptFilter() |
|
| 17 | ); |
||
| 18 | 6 | } |
|
| 19 | |||
| 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 | } |
||
| 31 | |||
| 32 | 6 | private static function back() |
|
| 39 | } |
||
| 40 | } |
||
| 41 |