From 27722a697fcde26bf62e16b5ec5a6ee99d28b467 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sat, 28 Oct 2023 19:03:59 +0200 Subject: [PATCH] Annotate array return generics --- .../src/Framework/Actions/PreBuildTasks/CleanSiteDirectory.php | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/framework/src/Framework/Actions/PreBuildTasks/CleanSiteDirectory.php b/packages/framework/src/Framework/Actions/PreBuildTasks/CleanSiteDirectory.php index d7ea838fdb0..5cf3ef41f65 100644 --- a/packages/framework/src/Framework/Actions/PreBuildTasks/CleanSiteDirectory.php +++ b/packages/framework/src/Framework/Actions/PreBuildTasks/CleanSiteDirectory.php @@ -57,6 +57,7 @@ protected function askIfUnsafeDirectoryShouldBeEmptied(): bool )); } + /** @return array */ protected function safeOutputDirectories(): array { return Config::getArray('hyde.safe_output_directories', ['_site', 'docs', 'build']);