Skip to content

Commit

Permalink
Update coding standard
Browse files Browse the repository at this point in the history
  • Loading branch information
xificurk committed Apr 25, 2020
1 parent a920feb commit 4e6c204
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"spaze/phpstan-disallowed-calls": "^0.12.1",
"phpstan/phpstan-mockery": "^0.12.4",
"php-parallel-lint/php-parallel-lint": "^1.2",
"nepada/coding-standard": "^7.0.1",
"nepada/coding-standard": "^7.1.1",
"nette/bootstrap": "^3.0@dev",
"nette/di": "^3.0.1@dev",
"nette/schema": "^1.0@dev"
Expand Down
2 changes: 1 addition & 1 deletion src/FileUploadControl/FileUploadControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public function getControl(): Html
$fileUploadItems = $storage->list();
$uniqueFilenames = array_map(fn (FileUploadItem $fileUploadItem): string => $fileUploadItem->getFileUpload()->getName(), $fileUploadItems);
$completedFiles = array_map(
fn(FileUploadItem $fileUploadItem): Response => $this->createUploadSuccessResponse($fileUploadItem),
fn (FileUploadItem $fileUploadItem): Response => $this->createUploadSuccessResponse($fileUploadItem),
array_filter($fileUploadItems, fn (FileUploadItem $fileUploadItem): bool => $fileUploadItem->getFileUpload()->isOk()),
);

Expand Down

0 comments on commit 4e6c204

Please sign in to comment.