Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Dec 14, 2023
1 parent 56a4dba commit ee6290d
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit ee6290d

Please sign in to comment.