@@ -227,7 +227,7 @@ |
||
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 | */ |
@@ -87,7 +87,7 @@ |
||
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 | } |
@@ -50,7 +50,7 @@ |
||
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( |
@@ -81,7 +81,7 @@ |
||
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(); |