Passed
Pull Request — master (#10)
by Chad
12:10 queued 10:22
created
src/Arrays.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     public static function filter($value, int $minCount = 1, int $maxCount = PHP_INT_MAX) : array
26 26
     {
27 27
         if (!is_array($value)) {
28
-            throw new FilterException("Value '" . trim(var_export($value, true), "'") . "' is not an array");
28
+            throw new FilterException("Value '".trim(var_export($value, true), "'")."' is not an array");
29 29
         }
30 30
 
31 31
         $count = count($value);
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     {
56 56
         if (!in_array($value, $haystack, $strict)) {
57 57
             throw new FilterException(
58
-                "Value '" . trim(var_export($value, true), "'") . "' is not in array " . var_export($haystack, true)
58
+                "Value '".trim(var_export($value, true), "'")."' is not in array ".var_export($haystack, true)
59 59
             );
60 60
         }
61 61
 
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     {
78 78
         $result = [];
79 79
 
80
-        $callBack = function ($item) use (&$result) {
80
+        $callBack = function($item) use (&$result) {
81 81
             $result[] = $item;
82 82
         };
83 83
 
Please login to merge, or discard this patch.