X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/9779c1a357d49654856ceb1b1f30d91cde8fa2fd..refs/pull/4562/head:/app/Activity/Notifications/Handlers/NotificationHandler.php diff --git a/app/Activity/Notifications/Handlers/NotificationHandler.php b/app/Activity/Notifications/Handlers/NotificationHandler.php index fecca2181..8c5498664 100644 --- a/app/Activity/Notifications/Handlers/NotificationHandler.php +++ b/app/Activity/Notifications/Handlers/NotificationHandler.php @@ -2,6 +2,7 @@ namespace BookStack\Activity\Notifications\Handlers; +use BookStack\Activity\Models\Activity; use BookStack\Activity\Models\Loggable; use BookStack\Users\Models\User; @@ -9,8 +10,8 @@ interface NotificationHandler { /** * Run this handler. - * Provides the activity type, related activity detail/model + * Provides the activity, related activity detail/model * along with the user that triggered the activity. */ - public function handle(string $activityType, string|Loggable $detail, User $user): void; + public function handle(Activity $activity, string|Loggable $detail, User $user): void; }