Completed
Branch cleanup (6c017e)
by Paul
13:14
created
src/Client.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     }
112 112
 
113 113
     /**
114
-     * @return array containing client id and secret
114
+     * @return string[] containing client id and secret
115 115
      */
116 116
     public function getCredentials()
117 117
     {
@@ -181,6 +181,9 @@  discard block
 block discarded – undo
181 181
         return $this->makeAPIRequest('GET', $entrypoint);
182 182
     }
183 183
 
184
+    /**
185
+     * @param string $entrypoint
186
+     */
184 187
     public function post($entrypoint, $json)
185 188
     {
186 189
         return $this->makeAPIRequest('POST', $entrypoint, $json);
@@ -191,6 +194,9 @@  discard block
 block discarded – undo
191 194
         return $this->makeAPIRequest('PUT', $entrypoint, $json);
192 195
     }
193 196
 
197
+    /**
198
+     * @param string $method
199
+     */
194 200
     protected function makeAPIRequest($method, $entrypoint, $json = null)
195 201
     {
196 202
         $this->log->debug('{method} {entrypoint} {json}', [
Please login to merge, or discard this patch.
src/LibLynxResource.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@
 block discarded – undo
25 25
         throw new \RuntimeException("No value called $name");
26 26
     }
27 27
 
28
+    /**
29
+     * @param string $name
30
+     */
28 31
     public function getLink($name)
29 32
     {
30 33
         if (isset($this->_links->$name)) {
Please login to merge, or discard this patch.