1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Applied latest StyleCI changes

This commit is contained in:
Dan Brown
2021-12-18 11:43:05 +00:00
parent a3ead5062a
commit 04f37e21e2
13 changed files with 53 additions and 52 deletions

View File

@ -85,7 +85,7 @@ class ActivityLogger
protected function dispatchWebhooks(string $type, $detail): void
{
$webhooks = Webhook::query()
->whereHas('trackedEvents', function(Builder $query) use ($type) {
->whereHas('trackedEvents', function (Builder $query) use ($type) {
$query->where('event', '=', $type)
->orWhere('event', '=', 'all');
})