Fix various phpstan errors

This commit is contained in:
James Cole
2023-11-05 16:11:09 +01:00
parent 998fed7782
commit 5b05fb07ae
5 changed files with 17 additions and 19 deletions

View File

@@ -212,7 +212,7 @@ class DecryptDatabase extends Command
return;
}
/** @var Preference $object */
/** @var Preference|null $object */
$object = Preference::find($id);
if (null !== $object) {
$object->data = $newValue;