Completed
Push — master ( cf13a8...086745 )
by Juliano
08:01 queued 05:52
created
src/Api.php 1 patch
Doc Comments   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
      * set up a new api.
15 15
      *
16 16
      * @param string       $baseUrl
17
-     * @param Closure|null $callback
17
+     * @param null|\Closure $callback
18 18
      */
19 19
     public function __construct($baseUrl, \Closure $callback = null)
20 20
     {
@@ -44,8 +44,6 @@  discard block
 block discarded – undo
44 44
     /**
45 45
      * add a header to the api.
46 46
      *
47
-     * @param string $key
48
-     * @param string $value
49 47
      * @param string $name
50 48
      *
51 49
      * @return Raidros\Storer\Header
@@ -68,7 +66,7 @@  discard block
 block discarded – undo
68 66
     /**
69 67
      * Return api headers.
70 68
      *
71
-     * @return array
69
+     * @return Collection
72 70
      */
73 71
     public function getHeaders()
74 72
     {
@@ -78,7 +76,7 @@  discard block
 block discarded – undo
78 76
     /**
79 77
      * Return api endpoints.
80 78
      *
81
-     * @return array
79
+     * @return Collection
82 80
      */
83 81
     public function getEndpoints()
84 82
     {
@@ -92,7 +90,7 @@  discard block
 block discarded – undo
92 90
      * @param array  $params
93 91
      * @param array  $headers
94 92
      *
95
-     * @return GuzzleHttp\Promise\PromiseInterface
93
+     * @return Response
96 94
      */
97 95
     public function execute($name, array $params = [], array $headers = [])
98 96
     {
Please login to merge, or discard this patch.