@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace AlfredTime; |
4 | 4 | |
5 | -use AlfredTime\ServiceApiCall; |
|
6 | - |
|
7 | 5 | /** |
8 | 6 | * |
9 | 7 | */ |
@@ -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 | */ |
@@ -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 | { |