Modernize to PHP 7.4

This commit is contained in:
Yassine Guedidi
2025-04-05 13:20:44 +02:00
parent ce8ed589d5
commit 4168727f36
21 changed files with 31 additions and 75 deletions

View File

@ -99,9 +99,7 @@ class WallabagV1ImportTest extends TestCase
$this->em
->expects($this->any())
->method('persist')
->with($this->callback(function ($persistedEntry) {
return (bool) $persistedEntry->isArchived();
}));
->with($this->callback(fn ($persistedEntry) => (bool) $persistedEntry->isArchived()));
$res = $wallabagV1Import->setMarkAsRead(true)->import();