aboutsummaryrefslogtreecommitdiff
path: root/lib/lib_rss.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lib_rss.php')
-rw-r--r--lib/lib_rss.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php
index 93463bace..2627773b6 100644
--- a/lib/lib_rss.php
+++ b/lib/lib_rss.php
@@ -18,11 +18,10 @@ if (COPY_SYSLOG_TO_STDERR) {
/**
* Build a directory path by concatenating a list of directory names.
*
- * @param $path_parts a list of directory names
+ * @param array<string> $path_parts a list of directory names
* @return string corresponding to the final pathname
*/
-function join_path() {
- $path_parts = func_get_args();
+function join_path(...$path_parts) {
return join(DIRECTORY_SEPARATOR, $path_parts);
}