From 3f6aa42b817145a3b00f4d615f87728b55c4413a Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 1 Jan 2022 11:26:56 +0100 Subject: Fix most PHPDocs errors (#4107) Contributes to https://github.com/FreshRSS/FreshRSS/issues/4103 https://phpstan.org/writing-php-code/phpdoc-types --- p/ext.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'p/ext.php') diff --git a/p/ext.php b/p/ext.php index a19c9e90e..aa6972d83 100644 --- a/p/ext.php +++ b/p/ext.php @@ -74,8 +74,8 @@ function is_valid_path_extension($path, $extensionPath, $isStatic = true) { * * You should sanitize path by using the realpath() function. * - * @param $path the path to the file we want to serve. - * @return true if it can be served, false otherwise. + * @param string $path the path to the file we want to serve. + * @return bool true if it can be served, false otherwise. * */ function is_valid_path($path) { -- cgit v1.2.3