Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
MortenDHansen committed Dec 15, 2023
1 parent 28d40d4 commit f8646fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Concerns/GathersDataToAudit.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Config;
use OwenIt\Auditing\Contracts\Resolver as ResolverContract;
use OwenIt\Auditing\Contracts\UserResolver;
use OwenIt\Auditing\Exceptions\AuditingException;

trait GathersDataToAudit
{

/**
*
* Must return array of attributes that should NOT be audited
* @return array
* @see DeterminesAttributesToAudit::resolveAuditExclusions()
Expand Down Expand Up @@ -94,7 +94,7 @@ protected function resolveUser()
$userResolver = Config::get('audit.resolver.user');
}

if (is_subclass_of($userResolver, \OwenIt\Auditing\Contracts\UserResolver::class)) {
if (is_subclass_of($userResolver, UserResolver::class)) {
return call_user_func([$userResolver, 'resolve'], $this);
}

Expand Down

0 comments on commit f8646fc

Please sign in to comment.