I have done the following to get it working - not sure if this will break something else but seems to be working so far 
in the LeadController.php
n the get function
replace:
if ($userIds = bouncer()->getAuthorizedUserIds()) {
    $query->whereIn('leads.user_id', $userIds);
}
with:
$userIds = bouncer()->getAuthorizedUserIds() ?? [];
if (!empty($userIds)) {
    $query->whereIn('leads.user_id', $userIds);
}
and in the view function, replace:
replace
if (
    $userIds = bouncer()->getAuthorizedUserIds()
    && ! in_array($lead->user_id, $userIds)
) {
    return redirect()->route('admin.leads.index');
}
with
$userIds = bouncer()->getAuthorizedUserIds() ?? [];
if (!empty($userIds) && !in_array($lead->user_id, $userIds)) {
    return redirect()->route('admin.leads.index');