From b1318e66726d4e4a71172c2da661240b914a0ad4 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sat, 28 Oct 2023 19:47:36 +0200 Subject: [PATCH] Add generic variable annotation --- .../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 5cf3ef41f65..d03c6a9dedf 100644 --- a/packages/framework/src/Framework/Actions/PreBuildTasks/CleanSiteDirectory.php +++ b/packages/framework/src/Framework/Actions/PreBuildTasks/CleanSiteDirectory.php @@ -60,6 +60,7 @@ protected function askIfUnsafeDirectoryShouldBeEmptied(): bool /** @return array */ protected function safeOutputDirectories(): array { + /** @var array $directories */ return Config::getArray('hyde.safe_output_directories', ['_site', 'docs', 'build']); } }