Completed
Push — master ( 38bc71...6b5525 )
by Tomas
65:07 queued 50:28
created
src/ApiDecider.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -23,6 +23,9 @@  discard block
 block discarded – undo
23 23
         $this->apiLink = $apiLink;
24 24
     }
25 25
 
26
+    /**
27
+     * @param string|null $method
28
+     */
26 29
     public function getApiHandler($method, $version, $package, $apiAction = '')
27 30
     {
28 31
         foreach ($this->handlers as $handler) {
@@ -79,6 +82,9 @@  discard block
 block discarded – undo
79 82
         return $list;
80 83
     }
81 84
     
85
+    /**
86
+     * @param ApiHandlerInterface $handler
87
+     */
82 88
     private function createParamsList($handler)
83 89
     {
84 90
         $paramsList = $handler['handler']->params();
Please login to merge, or discard this patch.
src/Component/ApiListingControl.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -46,6 +46,9 @@
 block discarded – undo
46 46
         $this->clickCallback->__invoke($method, $version, $package, $apiAction);
47 47
     }
48 48
 
49
+    /**
50
+     * @param \Tomaj\NetteApi\Handlers\ApiHandlerInterface[] $handlers
51
+     */
49 52
     private function sortHandlers($handlers)
50 53
     {
51 54
         $versionHandlers = [];
Please login to merge, or discard this patch.
src/Authorization/BearerTokenAuthorization.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -68,6 +68,7 @@
 block discarded – undo
68 68
      *   '127.0.0.1,127.0.02' - accessible from multiple IP, separator could be new line or space
69 69
      *   '127.0.0.1/32'       - accessible from ip range
70 70
      *
71
+     * @param string|false $ipRestrictions
71 72
      * @return boolean
72 73
      */
73 74
     private function isValidIp($ipRestrictions)
Please login to merge, or discard this patch.