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

@ -238,7 +238,7 @@ class Config
/**
* Set feed Token.
*
* @param string $feedToken
* @param string|null $feedToken
*
* @return Config
*/
@ -252,7 +252,7 @@ class Config
/**
* Get feedToken.
*
* @return string
* @return string|null
*/
public function getFeedToken()
{

View File

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