Completed
Push — master ( 259dc4...38eb66 )
by Yaro
01:36
created
src/ApiDocs.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -179,6 +179,9 @@  discard block
 block discarded – undo
179 179
         return isset($matches[1]) ? $matches[1] : [];
180 180
     } // end getUriParams
181 181
     
182
+    /**
183
+     * @param string $key
184
+     */
182 185
     private function generateHashForUrl($key, $route, $method)
183 186
     {
184 187
         $path = preg_replace('~\s+~', '-', $key);
@@ -203,6 +206,9 @@  discard block
 block discarded – undo
203 206
         return preg_split($splitCamelCaseRegexp, $chunk);
204 207
     } // end splitCamelCaseToWords
205 208
     
209
+    /**
210
+     * @param string $param
211
+     */
206 212
     private function getRouteParam($route, $param)
207 213
     {
208 214
         $route = (array) $route;
Please login to merge, or discard this patch.
src/Blueprint.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
         $this->endpoints = $endpoints;
33 33
     }
34 34
     
35
+    /**
36
+     * @return string
37
+     */
35 38
     public function render()
36 39
     {
37 40
         $host = $this->config->get('yaro.apidocs.blueprint.host');
Please login to merge, or discard this patch.