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