app/Policies/EnterprisePolicy.php
/**
     * Determine whether the user can approve enterprises pending registrations.
     *
     * @param  \App\User  $user
     * @return mixed
     */
Determine whether the user can approve enterprises pending registrations.
@param  \App\User  $user
@return mixed
Determine whether the user can approve enterprises pending registrations . @param \ App \ User $user @return mixed
public function approvePendingRegistration(User $user)
    {
        if($user->role === 'Admin'){
            return true;
        }
        return false;
    }
public function approvePendingRegistration ( User $ user ) { if ( $ user -> role === 'Admin' ) { return true ; } return false ; }
Determine whether the user can approve enterprises pending registrations.
Determine whether the user can approve enterprises pending registrations .