kodeine / laravel-acl

Light-weight role-based permissions system for Laravel 6+ built in Auth system.
MIT License
786 stars 216 forks source link

Clean code #255

Open mohammadMghi opened 4 years ago

mohammadMghi commented 4 years ago

I tried to make code cleaner and change return error to Exception (HasPermission.php file) but ...I have been not still test the part that i changed... sorry for my bad English :)

mohammadMghi commented 4 years ago

If anybody test my code please ... say here :) If this change is useful give me your feedback to change the part need to change ... Thanks