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

@ -383,7 +383,7 @@ class Entry
public function toggleArchive()
{
$this->updateArchived($this->isArchived() ^ 1);
$this->updateArchived((bool) ($this->isArchived() ^ 1));
return $this;
}