Completed
Push — master ( 122fed...5a0a25 )
by Matteo
02:34
created
src/Flat/Storage.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
     public function update($collection, array $criteria, array $updates, $multiple = false)
58 58
     {
59
-        return $this->onMatch($collection, $criteria, function ($document) use ($updates) {
59
+        return $this->onMatch($collection, $criteria, function($document) use ($updates) {
60 60
             $document = array_merge($document, $updates);
61 61
 
62 62
             return $this->insert($document);
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 
66 66
     public function remove($collection, array $criteria, $multiple = false)
67 67
     {
68
-        return $this->onMatch($collection, $criteria, function ($document, $path) {
68
+        return $this->onMatch($collection, $criteria, function($document, $path) {
69 69
             return $this->filesystem->delete($path);
70 70
         });
71 71
     }
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
     {
75 75
         $results = [];
76 76
 
77
-        $this->onMatch($collection, $criteria, function ($document) use (&$results) {
77
+        $this->onMatch($collection, $criteria, function($document) use (&$results) {
78 78
             $results[] = $document;
79 79
         }, true);
80 80
 
Please login to merge, or discard this patch.