@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace AlfredTime; |
4 | 4 | |
5 | -use AlfredTime\ServiceApiCall; |
|
6 | - |
|
7 | 5 | /** |
8 | 6 | * |
9 | 7 | */ |
@@ -141,7 +141,7 @@ |
||
141 | 141 | } |
142 | 142 | |
143 | 143 | /** |
144 | - * @param $needle |
|
144 | + * @param string $needle |
|
145 | 145 | * @param array $haystack |
146 | 146 | * @return mixed |
147 | 147 | */ |
@@ -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 | { |
@@ -66,8 +66,9 @@ discard block |
||
66 | 66 | } |
67 | 67 | |
68 | 68 | /** |
69 | - * @param $baseUri |
|
69 | + * @param string $baseUri |
|
70 | 70 | * @param $apiToken |
71 | + * @param null|string $credentials |
|
71 | 72 | */ |
72 | 73 | protected function __construct($baseUri, $credentials) |
73 | 74 | { |
@@ -104,7 +105,7 @@ discard block |
||
104 | 105 | abstract protected function getTags($data); |
105 | 106 | |
106 | 107 | /** |
107 | - * @param $action |
|
108 | + * @param string $action |
|
108 | 109 | * @return mixed |
109 | 110 | */ |
110 | 111 | protected function methodForAction($action) |