Skip to content

Commit e9a5779

Browse files
committed
add type declaration
1 parent 33c09f4 commit e9a5779

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/lib/UnityUser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,13 +97,13 @@ public function init(
9797
$this->SQL->addLog($this->uid, $_SERVER["REMOTE_ADDR"], "user_added", $this->uid);
9898
}
9999

100-
public function getModifier($modifier): bool
100+
public function getModifier(string $modifier): bool
101101
{
102102
return $this->LDAP->userModifierGroups[$modifier]->memberUIDExists($this->uid);
103103
}
104104

105105
public function setModifier(
106-
$modifier,
106+
string $modifier,
107107
bool $newValue,
108108
bool $doSendMail = true,
109109
bool $doSendMailAdmin = true,

0 commit comments

Comments
 (0)