Completed
Push — master ( fab147...76f600 )
by Beñat
03:43
created
src/BenGorFile/File/Infrastructure/Persistence/Sql/SqlFileRepository.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@
 block discarded – undo
227 227
      *
228 228
      * @param File   $file          The file domain object
229 229
      * @param string $propertyName  The property name
230
-     * @param mixed  $propertyValue The property value
230
+     * @param \DateTimeImmutable  $propertyValue The property value
231 231
      *
232 232
      * @return File
233 233
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
     {
88 88
         $statement = $this->execute('SELECT * FROM file');
89 89
         if ($rows = $statement->fetch(\PDO::FETCH_ASSOC)) {
90
-            return array_map(function ($row) {
90
+            return array_map(function($row) {
91 91
                 return $this->buildFile($row);
92 92
             }, $rows);
93 93
         }
Please login to merge, or discard this patch.
src/BenGorFile/File/Application/Query/AllFilesHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     {
61 61
         $files = $this->repository->all();
62 62
 
63
-        $result = array_map(function (File $file) {
63
+        $result = array_map(function(File $file) {
64 64
             $this->dataTransformer->write($file);
65 65
 
66 66
             return $this->dataTransformer->read();
Please login to merge, or discard this patch.