From 02ed17d00935f1e5a086605222a3a1fcee54b63b Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Mon, 18 Dec 2023 22:36:12 +0100 Subject: [PATCH] Revert "Add new internal `GeneratesDocumentationSearchIndex::generate` method" This reverts commit d9eec2881648aab1742a18689257daf20668d79c. --- .../Actions/GeneratesDocumentationSearchIndex.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/packages/framework/src/Framework/Actions/GeneratesDocumentationSearchIndex.php b/packages/framework/src/Framework/Actions/GeneratesDocumentationSearchIndex.php index 835084bfd39..30aeecc0d7f 100644 --- a/packages/framework/src/Framework/Actions/GeneratesDocumentationSearchIndex.php +++ b/packages/framework/src/Framework/Actions/GeneratesDocumentationSearchIndex.php @@ -40,17 +40,6 @@ public static function handle(): string return $service->path; } - /** - * Generate the search index return it as a string. - */ - public static function generate(): string - { - $service = new static(); - $service->run(); - - return $service->index->toJson(); - } - protected function __construct() { $this->index = new Collection();