@@ -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 | */ |
@@ -77,7 +77,7 @@ discard block |
||
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 |
||
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 | } |
@@ -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(); |
@@ -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(); |