Passed
Pull Request — master (#15)
by
unknown
03:40
created
src/Extensions/ChunkExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
             throw new UndefinedCallbackException("No callback is set on chunk complete");
48 48
         }
49 49
         // decorate function to apply both its behavior and the chunk process
50
-        $function = function ($collection) use ($function) {
50
+        $function = function($collection) use ($function) {
51 51
             $this->iterationCount++;
52 52
             $function($collection);
53 53
 
Please login to merge, or discard this patch.
src/StreamParser.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@  discard block
 block discarded – undo
22 22
 
23 23
 	private function __construct()
24 24
 	{
25
-		Collection::macro('recursive', function () {
26
-			return $this->map(function ($value) {
25
+		Collection::macro('recursive', function() {
26
+			return $this->map(function($value) {
27 27
 				if (is_array($value) || is_object($value)) {
28 28
 					return (new Collection($value))->recursive();
29 29
 				}
@@ -32,15 +32,15 @@  discard block
 block discarded – undo
32 32
 		});
33 33
 	}
34 34
 
35
-	private function xml(String $source){
35
+	private function xml(String $source) {
36 36
 		return (new XMLParser())->from($source);
37 37
 	}
38 38
 
39
-	private function json(String $source){
39
+	private function json(String $source) {
40 40
 		return (new JSONParser())->from($source);
41 41
 	}
42 42
 
43
-	private function csv(String $source){
43
+	private function csv(String $source) {
44 44
 		return (new CSVParser())->from($source);
45 45
 	}
46 46
 
Please login to merge, or discard this patch.