From ee6290dfae2226bbeccb8e4ee51220af4cb9ba7e Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 14 Dec 2023 15:06:18 +0000 Subject: [PATCH] Apply fixes from StyleCI --- .../tests/Feature/Commands/BuildSearchCommandTest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/framework/tests/Feature/Commands/BuildSearchCommandTest.php b/packages/framework/tests/Feature/Commands/BuildSearchCommandTest.php index 4ed608edc70..bd25e01bd78 100644 --- a/packages/framework/tests/Feature/Commands/BuildSearchCommandTest.php +++ b/packages/framework/tests/Feature/Commands/BuildSearchCommandTest.php @@ -4,7 +4,6 @@ namespace Hyde\Framework\Testing\Feature\Commands; -use Hyde\Pages\BladePage; use Hyde\Facades\Filesystem; use Hyde\Hyde; use Hyde\Pages\InMemoryPage; @@ -109,8 +108,8 @@ public function test_search_files_can_be_generated_for_custom_site_and_nested_do public function test_command_uses_page_from_kernel_when_present() { - Hyde::pages()->addPage(tap(GeneratesDocumentationSearchIndex::makePage(), function(InMemoryPage $page): void { - $page->macro('compile', fn() => '{"foo":"bar"}'); + Hyde::pages()->addPage(tap(GeneratesDocumentationSearchIndex::makePage(), function (InMemoryPage $page): void { + $page->macro('compile', fn () => '{"foo":"bar"}'); })); $this->artisan('build:search')->assertExitCode(0);