cartalyst / sentinel

A framework agnostic authentication & authorization system.
BSD 3-Clause "New" or "Revised" License
1.52k stars 240 forks source link

Remove duplicate null check #498

Closed 8633brown closed 5 years ago

8633brown commented 5 years ago

this null check isn't needed as it's already checked in the line above.

edit: the default callback type for Sentinel::register should be a bool.