Fixed some inspection issues

This commit is contained in:
Jan Böhmer 2024-03-03 19:57:31 +01:00
parent 33475dca66
commit 42e604245c
85 changed files with 272 additions and 291 deletions

View file

@ -49,11 +49,7 @@ class TMEClient
public function isUsable(): bool
{
if ($this->token === '' || $this->secret === '') {
return false;
}
return true;
return !($this->token === '' || $this->secret === '');
}