forked from mirror/Part-DB.Part-DB-server
Fixed PHPstan issues for level 5.
This commit is contained in:
parent
a9293b7ceb
commit
da72f5b3ec
24 changed files with 87 additions and 49 deletions
|
@ -86,7 +86,7 @@ class CleanAttachmentsCommand extends Command
|
|||
|
||||
$table = new Table($output);
|
||||
$table->setHeaders(['Filename', 'MIME Type', 'Last modified date']);
|
||||
$dateformatter = IntlDateFormatter::create(null, IntlDateFormatter::SHORT, IntlDateFormatter::SHORT);
|
||||
$dateformatter = IntlDateFormatter::create(\Locale::getDefault(), IntlDateFormatter::SHORT, IntlDateFormatter::SHORT);
|
||||
|
||||
foreach ($finder as $file) {
|
||||
//If not attachment object uses this file, print it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue