add parameter types and fix a phpstan issue (#4384)

This commit is contained in:
Simon Schaufelberger
2023-10-31 17:03:26 +01:00
committed by GitHub
parent 95f15e6c88
commit e06acc95c5
2 changed files with 12 additions and 17 deletions

View File

@@ -2006,11 +2006,6 @@ parameters:
count: 1
path: src/Export/Base/AbstractSpreadsheetRenderer.php
-
message: "#^Parameter \\#1 \\$file of class Symfony\\\\Component\\\\HttpFoundation\\\\BinaryFileResponse constructor expects SplFileInfo\\|string, mixed given\\.$#"
count: 1
path: src/Export/Base/AbstractSpreadsheetRenderer.php
-
message: "#^Parameter \\#1 \\$id of method Symfony\\\\Contracts\\\\Translation\\\\TranslatorInterface\\:\\:trans\\(\\) expects string, string\\|null given\\.$#"
count: 5