Skip to content

Commit c9bd4dd

Browse files
committed
added a return to removeRole
1 parent 0d9c442 commit c9bd4dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Traits/HasRoles.php

+2
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ public function removeRole($role)
149149
$this->roles()->detach($this->getStoredRole($role));
150150

151151
$this->load('roles');
152+
153+
return $this;
152154
}
153155

154156
/**

0 commit comments

Comments
 (0)