Test Setup Failed
Push — master ( 6def47...3181cf )
by William Johnson S.
02:29
created
src/RestApi.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
     /**
212 212
      * Gets the user data and punches.
213 213
      *
214
-     * @param null $field
214
+     * @param string $field
215 215
      *
216 216
      * @return mixed
217 217
      */
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
     /**
228 228
      * Gets all the data and punches. Cached method.
229 229
      *
230
-     * @return mixed
230
+     * @return \PHPUnit_Framework_MockObject_Matcher_InvokedCount
231 231
      */
232 232
     private function getData() {
233 233
         return once(function () {
@@ -247,6 +247,9 @@  discard block
 block discarded – undo
247 247
         });
248 248
     }
249 249
 
250
+    /**
251
+     * @param string $endpoint
252
+     */
250 253
     private function buildUrl($endpoint, array $params = []) {
251 254
         return once(function () use ($endpoint, $params) {
252 255
             return vsprintf($endpoint, array_merge([static::API_BASE_URL], $params));
Please login to merge, or discard this patch.