| @@ -41,9 +41,11 @@ | ||
| 41 | 41 | return self::getInstance()->scriptFilter->output(); | 
| 42 | 42 | } | 
| 43 | 43 | |
| 44 | - public static function do() | |
| 44 | +    public static function do { | |
| 45 | + () | |
| 45 | 46 |      { | 
| 46 | 47 |          $action = getenv('timer_action'); | 
| 48 | + } | |
| 47 | 49 | |
| 48 | 50 |          if ($timerId = getenv('timer_id')) { | 
| 49 | 51 | return Timer::$action($timerId); | 
| @@ -5,7 +5,9 @@ | ||
| 5 | 5 | use Godbout\Alfred\Time\Workflow; | 
| 6 | 6 | |
| 7 | 7 |  if (getenv('action') === 'do') { | 
| 8 | - $result = Workflow::do(); | |
| 8 | +    $result = Workflow::do { | |
| 9 | + (); | |
| 10 | + } | |
| 9 | 11 | |
| 10 | 12 |      if (getenv('timer_action') !== 'exit') { | 
| 11 | 13 | print Workflow::notify($result); |