| Total Complexity | 8 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Coverage | 91.67% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class UserResolver implements \OwenIt\Auditing\Contracts\UserResolver |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * {@inheritdoc} |
||
| 23 | */ |
||
| 24 | 222 | public static function resolve() |
|
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Resolves the user when not morphable |
||
| 31 | * |
||
| 32 | * @return \Illuminate\Contracts\Auth\Authenticatable|null |
||
| 33 | */ |
||
| 34 | 141 | private static function resolveSingle() |
|
| 37 | } |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Resolves the user when morphable |
||
| 41 | * |
||
| 42 | * @return \Illuminate\Contracts\Auth\Authenticatable|null |
||
| 43 | */ |
||
| 44 | 81 | private static function resolveMorphable() |
|
| 61 |