Completed
Push — master ( 557727...adef2f )
by Beñat
13s
created
src/BenGorFile/File/Infrastructure/Persistence/Sql/SqlFileRepository.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
             return [];
78 78
         }
79 79
 
80
-        return array_map(function ($row) {
80
+        return array_map(function($row) {
81 81
             return $this->buildFile($row);
82 82
         }, $rows);
83 83
     }
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     {
120 120
         $statement = $this->execute('SELECT * FROM file');
121 121
         if ($rows = $statement->fetch(\PDO::FETCH_ASSOC)) {
122
-            return array_map(function ($row) {
122
+            return array_map(function($row) {
123 123
                 return $this->buildFile($row);
124 124
             }, $rows);
125 125
         }
Please login to merge, or discard this patch.