Completed
Push — master ( 3efda9...d6329d )
by Grzegorz
02:38
created
src/Api/Validation.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      * @param string       $type
44 44
      * @param string|array $input
45 45
      *
46
-     * @return bool
46
+     * @return boolean|null
47 47
      */
48 48
     public function validation($type = "", $input)
49 49
     {
@@ -91,9 +91,9 @@  discard block
 block discarded – undo
91 91
      * @param string         $type  Type of valid (offset or limit)
92 92
      * @param string         $input Value
93 93
      * @param integer        $min   Min range what value can be
94
-     * @param string|integer $max   Max range what value can be
94
+     * @param integer $max   Max range what value can be
95 95
      *
96
-     * @return $this|bool
96
+     * @return boolean|null
97 97
      */
98 98
     protected function validNumber($type, $input, $min, $max = "")
99 99
     {
@@ -109,7 +109,7 @@  discard block
 block discarded – undo
109 109
      *
110 110
      * @param string|array $input
111 111
      *
112
-     * @return bool
112
+     * @return boolean|null
113 113
      */
114 114
     protected function validFilter($input)
115 115
     {
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
      *
132 132
      * @param string|array $input
133 133
      *
134
-     * @return bool
134
+     * @return boolean|null
135 135
      */
136 136
     protected function validSort($input)
137 137
     {
Please login to merge, or discard this patch.
src/Api/Filters/FilterValidation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
      */
77 77
     public function isParamOfTypeMultiple($param, $types)
78 78
     {
79
-        array_walk($types, function (&$type) use ($param) {
79
+        array_walk($types, function(&$type) use ($param) {
80 80
             $type = $this->isParamOfTypeSingle($param, $type);
81 81
         });
82 82
 
Please login to merge, or discard this patch.