Completed
Push — master ( 34a48d...f3715b )
by Tomas
02:44
created
src/ApiDecider.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -79,6 +79,9 @@
 block discarded – undo
79 79
         return $list;
80 80
     }
81 81
     
82
+    /**
83
+     * @param ApiHandlerInterface $handler
84
+     */
82 85
     private function createParamsList($handler)
83 86
     {
84 87
         $paramsList = $handler['handler']->params();
Please login to merge, or discard this patch.
src/Params/InputParam.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -93,9 +93,9 @@
 block discarded – undo
93 93
             return filter_input(INPUT_POST, $this->key);
94 94
         }
95 95
         if ($this->type == self::TYPE_FILE) {
96
-           if (isset($_FILES[$this->key])) {
97
-               return $_FILES[$this->key];
98
-           }
96
+            if (isset($_FILES[$this->key])) {
97
+                return $_FILES[$this->key];
98
+            }
99 99
         }
100 100
         
101 101
         throw new Exception("Invalid type");
Please login to merge, or discard this patch.
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.