diff --git a/src/ActivitylogServiceProvider.php b/src/ActivitylogServiceProvider.php
index <HASH>..<HASH> 100644
--- a/src/ActivitylogServiceProvider.php
+++ b/src/ActivitylogServiceProvider.php
@@ -43,9 +43,7 @@ class ActivitylogServiceProvider extends ServiceProvider
 
     public static function determineActivityModel(): string
     {
-        $activityModel = config('laravel-activitylog.activity_model') !== null ?
-            config('laravel-activitylog.activity_model') :
-            Activity::class;
+        $activityModel = config('laravel-activitylog.activity_model') ?? Activity::class;
 
         if (! is_a($activityModel, Activity::class, true)) {
             throw InvalidConfiguration::modelIsNotValid($activityModel);
Using Null coalescing operator (#<I>)

Using null coalescing operator instead of ternary operator.