Skip to content

Commit 7eae2d7

Browse files
stengithub-actions[bot]
authored andcommitted
Fix styling
1 parent 1258894 commit 7eae2d7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Listeners/SlugChangedListener.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function handle(SlugChanged $event): void
5656
->where('new_url', $newUrlPath)
5757
->exists();
5858

59-
if (!$redirectExists) {
59+
if (! $redirectExists) {
6060
$redirect = new Redirect;
6161
$redirect->old_url = $oldUrlPath;
6262
$redirect->new_url = $newUrlPath;
@@ -65,8 +65,7 @@ public function handle(SlugChanged $event): void
6565
}
6666

6767
DB::commit();
68-
}
69-
catch (\Exception $e) {
68+
} catch (\Exception $e) {
7069
report($e);
7170
DB::rollBack();
7271
}

0 commit comments

Comments
 (0)