Completed
Pull Request — master (#529)
by
unknown
03:36
created
src/Bridge/Doctrine/Orm/Filter/SearchFilter.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -307,21 +307,21 @@
 block discarded – undo
307 307
         return $value;
308 308
     }
309 309
 
310
-   /**
311
-    * Normalize the values array.
312
-    *
313
-    * @param array $values
314
-    *
315
-    * @return array
316
-    */
317
-   private function normalizeValues(array $values) : array
318
-   {
319
-       foreach ($values as $key => $value) {
320
-           if (!is_int($key) || !is_string($value)) {
321
-               unset($values[$key]);
322
-           }
323
-       }
324
-
325
-       return array_values($values);
326
-   }
310
+    /**
311
+     * Normalize the values array.
312
+     *
313
+     * @param array $values
314
+     *
315
+     * @return array
316
+     */
317
+    private function normalizeValues(array $values) : array
318
+    {
319
+        foreach ($values as $key => $value) {
320
+            if (!is_int($key) || !is_string($value)) {
321
+                unset($values[$key]);
322
+            }
323
+        }
324
+
325
+        return array_values($values);
326
+    }
327 327
 }
Please login to merge, or discard this patch.
src/Bridge/Doctrine/Orm/Filter/AbstractFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@
 block discarded – undo
139 139
      *
140 140
      * @param string $property
141 141
      *
142
-     * @return array
142
+     * @return string
143 143
      */
144 144
     protected function splitPropertyParts(string $property) : array
145 145
     {
Please login to merge, or discard this patch.