Closed damasco closed 7 years ago
@samdark
if (!$role) {
throw new InvalidParamException("There is no role \"$role\".");
}
Ah. Got the idea. Still, I think the argument should be $role
. Let's rename role object instead.
Fixed. Thank you!
I think just
role
is a better name.