[5.1] Use $this instead of parent.
@@ -24,7 +24,7 @@ class AuthServiceProvider extends ServiceProvider
*/
public function boot(GateContract $gate)
{
- parent::registerPolicies($gate);
+ $this->registerPolicies($gate);
//
}