We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76fd32e commit 8638ce8Copy full SHA for 8638ce8
src/models/AssignmentForm.php
@@ -55,7 +55,7 @@ public function attributeLabels() {
55
* @return boolean whether assignment save success
56
*/
57
public function save() {
58
- $this->authManager->revokeAll(intval($this->userId));
+ $this->authManager->revokeAll($this->userId);
59
if ($this->roles != null) {
60
foreach ($this->roles as $role) {
61
$this->authManager->assign($this->authManager->getRole($role), $this->userId);
0 commit comments