Completed
Push — master ( bc31c0...0bf176 )
by Beñat
01:45
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   +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.
src/BenGorFile/File/Application/Query/FileOfNameHandler.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      * Constructor.
51 51
      *
52 52
      * @param FileRepository           $aRepository           The file repository
53
-     * @param FileSpecificationFactory $aSpecificationFactory The file specification factory
53
+     * @param FileSpecificationFactory $specificationFactory The file specification factory
54 54
      * @param FileDataTransformer      $aDataTransformer      The file data transformer
55 55
      */
56 56
     public function __construct(
Please login to merge, or discard this patch.
src/BenGorFile/File/Application/Query/FilterFilesHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
             )
82 82
         );
83 83
 
84
-        return array_map(function (File $file) {
84
+        return array_map(function(File $file) {
85 85
             $this->dataTransformer->write($file);
86 86
 
87 87
             return $this->dataTransformer->read();
Please login to merge, or discard this patch.
src/BenGorFile/File/Application/Query/ListFilesOfIdsHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
             )
82 82
         );
83 83
 
84
-        return array_map(function (File $file) {
84
+        return array_map(function(File $file) {
85 85
             $this->dataTransformer->write($file);
86 86
 
87 87
             return $this->dataTransformer->read();
Please login to merge, or discard this patch.