@@ -90,7 +90,7 @@ |
||
| 90 | 90 | |
| 91 | 91 | /** |
| 92 | 92 | * @param $section |
| 93 | - * @param null $param |
|
| 93 | + * @param string $param |
|
| 94 | 94 | * @return mixed |
| 95 | 95 | */ |
| 96 | 96 | public function get($section = null, $param = null) |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | /** |
| 38 | 38 | * @param array $results |
| 39 | 39 | * @param $action |
| 40 | - * @return mixed |
|
| 40 | + * @return string |
|
| 41 | 41 | */ |
| 42 | 42 | public function getNotification(array $results = [], $action = null) |
| 43 | 43 | { |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | /** |
| 139 | - * @return mixed |
|
| 139 | + * @return string |
|
| 140 | 140 | */ |
| 141 | 141 | public function syncOnlineDataToLocalCache() |
| 142 | 142 | { |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | } |
| 153 | 153 | |
| 154 | 154 | /** |
| 155 | - * @param $needle |
|
| 155 | + * @param string $needle |
|
| 156 | 156 | * @return mixed |
| 157 | 157 | */ |
| 158 | 158 | private function getItems($needle) |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | |
| 199 | 199 | /** |
| 200 | 200 | * @param $service |
| 201 | - * @return mixed |
|
| 201 | + * @return string |
|
| 202 | 202 | */ |
| 203 | 203 | private function syncServiceOnlineDataToLocalCache($service) |
| 204 | 204 | { |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | /** |
| 119 | - * @param $action |
|
| 119 | + * @param string $action |
|
| 120 | 120 | * @return mixed |
| 121 | 121 | */ |
| 122 | 122 | protected function methodForAction($action) |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | } |
| 155 | 155 | |
| 156 | 156 | /** |
| 157 | - * @param $needle |
|
| 157 | + * @param string $needle |
|
| 158 | 158 | * @param array $haystack |
| 159 | 159 | * @return mixed |
| 160 | 160 | */ |
@@ -138,7 +138,7 @@ discard block |
||
| 138 | 138 | } |
| 139 | 139 | |
| 140 | 140 | /** |
| 141 | - * @param $action |
|
| 141 | + * @param string $action |
|
| 142 | 142 | * @return mixed |
| 143 | 143 | */ |
| 144 | 144 | protected function methodForAction($action) |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | } |
| 171 | 171 | |
| 172 | 172 | /** |
| 173 | - * @param $needle |
|
| 173 | + * @param string $needle |
|
| 174 | 174 | * @param array $haystack |
| 175 | 175 | * @return mixed |
| 176 | 176 | */ |
@@ -2,12 +2,12 @@ |
||
| 2 | 2 | |
| 3 | 3 | require_once __DIR__ . '/../../vendor/autoload.php'; |
| 4 | 4 | |
| 5 | -use AlfredTime\Timer; |
|
| 6 | -use AlfredTime\Toggl; |
|
| 7 | 5 | use AlfredTime\Config; |
| 8 | 6 | use AlfredTime\Harvest; |
| 9 | -use Alfred\Workflows\Workflow; |
|
| 7 | +use AlfredTime\Timer; |
|
| 8 | +use AlfredTime\Toggl; |
|
| 10 | 9 | use AlfredTime\WorkflowHandler; |
| 10 | +use Alfred\Workflows\Workflow; |
|
| 11 | 11 | |
| 12 | 12 | $workflow = new Workflow(); |
| 13 | 13 | $config = new Config(getenv('alfred_workflow_data') . '/config.json'); |