1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-26 18:21:02 +00:00

PHPStan level 5

This commit is contained in:
Yassine Guedidi 2025-04-21 16:27:44 +02:00
parent 3ef7064ada
commit 36eb513e1b
22 changed files with 60 additions and 47 deletions

View file

@ -647,7 +647,7 @@ class ConfigController extends AbstractController
}
$user = $this->getUser();
$user->getConfig()->setListMode(!$user->getConfig()->getListMode());
$user->getConfig()->setListMode((int) !$user->getConfig()->getListMode());
$this->entityManager->persist($user);
$this->entityManager->flush();