Skip to content
Prev Previous commit
Next Next commit
fix psalm warnings
  • Loading branch information
mrvahedi68 committed Dec 26, 2022
commit 754959a99c4528e514281f2c8e2977f4126a54a3
3 changes: 2 additions & 1 deletion apps/workflowengine/lib/Check/MfaVerified.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class MfaVerified implements ICheck, IFileCheck {

/** @var array */
/** @psalm-suppress PropertyNotSetInConstructor */
/** @psalm-suppress MissingPropertyType */
protected $fileIds;

/** @var IL10N */
Expand Down Expand Up @@ -76,7 +77,7 @@ public function executeCheck($operator, $value): bool {
* @param string $value
* @throws \UnexpectedValueException
*/
public function validateCheck($operator, $value) {
public function validateCheck($operator, $value): void {
if (!in_array($operator, ['is'])) {
throw new \UnexpectedValueException($this->l->t('The given operator is invalid'), 1);
}
Expand Down