Move to PHPStan level 4

This commit is contained in:
Yassine Guedidi
2025-04-05 17:34:00 +02:00
parent 31e1be4191
commit b4483023e6
22 changed files with 116 additions and 104 deletions

View File

@ -95,7 +95,7 @@ class PinboardImport extends AbstractImport
'is_archived' => ('no' === $importedEntry['toread']) || $this->markAsRead,
'is_starred' => false,
'created_at' => $importedEntry['time'],
'tags' => explode(' ', (string) $importedEntry['tags']),
'tags' => array_filter(explode(' ', (string) $importedEntry['tags'])),
];
$entry = new Entry($this->user);