From a7a90cfbb1eee644978436bb7b4936e34a19cdbe Mon Sep 17 00:00:00 2001 From: duncanmcclean Date: Fri, 13 Dec 2024 16:25:47 +0000 Subject: [PATCH] Fix styling --- src/Http/Controllers/GuestEntryController.php | 2 +- tests/Http/Controllers/GuestEntryControllerTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Http/Controllers/GuestEntryController.php b/src/Http/Controllers/GuestEntryController.php index 277ec0b..a5a58fb 100644 --- a/src/Http/Controllers/GuestEntryController.php +++ b/src/Http/Controllers/GuestEntryController.php @@ -249,7 +249,7 @@ protected function generateEntrySlug($entry): string } $iteration++; - $slug = $originalSlug . '-' . $iteration; + $slug = $originalSlug.'-'.$iteration; } } diff --git a/tests/Http/Controllers/GuestEntryControllerTest.php b/tests/Http/Controllers/GuestEntryControllerTest.php index 8a3716e..44bb5a5 100644 --- a/tests/Http/Controllers/GuestEntryControllerTest.php +++ b/tests/Http/Controllers/GuestEntryControllerTest.php @@ -18,8 +18,8 @@ use Statamic\Facades\Collection; use Statamic\Facades\Entry; use Statamic\Facades\Site; - use Statamic\Structures\CollectionStructure; + use function PHPUnit\Framework\assertCount; beforeEach(function () {