Completed
Push — master ( bec334...59c044 )
by Tomas
04:35
created
src/Authorization/BearerTokenAuthorization.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@
 block discarded – undo
41 41
         return true;
42 42
     }
43 43
 
44
+    /**
45
+     * @param string|false $ipRestrictions
46
+     */
44 47
     private function isValidIp($ipRestrictions)
45 48
     {
46 49
         if ($ipRestrictions == '*' || $ipRestrictions == '' || $ipRestrictions == null) {
Please login to merge, or discard this patch.
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.