diff --git a/packages/framework/src/Console/Helpers/InteractivePublishCommandHelper.php b/packages/framework/src/Console/Helpers/InteractivePublishCommandHelper.php index 978f90f58f8..47ca7b74d11 100644 --- a/packages/framework/src/Console/Helpers/InteractivePublishCommandHelper.php +++ b/packages/framework/src/Console/Helpers/InteractivePublishCommandHelper.php @@ -102,7 +102,7 @@ protected function pathRelativeToDirectory(string $source, string $directory): s * @param array $selectedFiles * @return array */ - public function filterPublishableFiles(array $selectedFiles): array + protected function filterPublishableFiles(array $selectedFiles): array { return array_filter($this->publishableFilesMap, fn(string $file): bool => in_array($file, $selectedFiles)); }