Passed
Push — master ( cdaa8b...1fad8f )
by Rick
02:27
created
src/Utils.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -73,13 +73,13 @@
 block discarded – undo
73 73
      */
74 74
     public static function createClosureFromCallable(callable $callable)
75 75
     {
76
-        // Closure::fromCallable was introduced in PHP 7.1.0
77
-        if (version_compare(PHP_VERSION, '7.1.0', '>='))
78
-            return \Closure::fromCallable($callable);
76
+	// Closure::fromCallable was introduced in PHP 7.1.0
77
+	if (version_compare(PHP_VERSION, '7.1.0', '>='))
78
+	    return \Closure::fromCallable($callable);
79 79
         
80
-        return function ($value) use ($callable)
81
-        {
82
-            return $callable($value);
83
-        };
80
+	return function ($value) use ($callable)
81
+	{
82
+	    return $callable($value);
83
+	};
84 84
 	}
85 85
 }
86 86
\ No newline at end of file
Please login to merge, or discard this patch.
src/Types.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
      */
72 72
     public static function numeric(): \Closure
73 73
     {
74
-        return Utils::createClosureFromCallable('is_numeric');
74
+	return Utils::createClosureFromCallable('is_numeric');
75 75
 	}
76 76
 
77 77
 	/**
Please login to merge, or discard this patch.