diff --git a/packages/framework/src/Framework/Actions/GeneratesDocumentationSearchIndex.php b/packages/framework/src/Framework/Actions/GeneratesDocumentationSearchIndex.php index 737a71a3e1a..e76c20496dd 100644 --- a/packages/framework/src/Framework/Actions/GeneratesDocumentationSearchIndex.php +++ b/packages/framework/src/Framework/Actions/GeneratesDocumentationSearchIndex.php @@ -11,9 +11,8 @@ use Hyde\Framework\Concerns\InteractsWithDirectories; use Hyde\Pages\DocumentationPage; use Illuminate\Support\Collection; - use Hyde\Framework\Features\Documentation\DocumentationSearchIndex; -use function tap; + use function basename; use function in_array; use function trim; diff --git a/packages/framework/src/Framework/Features/Documentation/DocumentationSearchIndex.php b/packages/framework/src/Framework/Features/Documentation/DocumentationSearchIndex.php index fb93759a503..b5b650c722f 100644 --- a/packages/framework/src/Framework/Features/Documentation/DocumentationSearchIndex.php +++ b/packages/framework/src/Framework/Features/Documentation/DocumentationSearchIndex.php @@ -4,11 +4,8 @@ namespace Hyde\Framework\Features\Documentation; -use Hyde\Hyde; -use Hyde\Facades\Config; use Hyde\Pages\InMemoryPage; use Hyde\Pages\DocumentationPage; -use Illuminate\Support\Facades\View; use Hyde\Framework\Actions\StaticPageBuilder; use Hyde\Framework\Actions\GeneratesDocumentationSearchIndex; diff --git a/packages/framework/tests/Feature/Commands/BuildSearchCommandTest.php b/packages/framework/tests/Feature/Commands/BuildSearchCommandTest.php index 696cb5d503b..454b63196d3 100644 --- a/packages/framework/tests/Feature/Commands/BuildSearchCommandTest.php +++ b/packages/framework/tests/Feature/Commands/BuildSearchCommandTest.php @@ -9,7 +9,6 @@ use Hyde\Pages\InMemoryPage; use Hyde\Pages\DocumentationPage; use Hyde\Testing\TestCase; -use Hyde\Framework\Actions\GeneratesDocumentationSearchIndex; /** * @covers \Hyde\Console\Commands\BuildSearchCommand