diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-01-20 17:08:01 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2025-01-20 17:08:01 +0100 |
| commit | 1257022fb3baa2ab6674437bb86422615f590160 (patch) | |
| tree | 1f5700e0b2aa4209aaf1e5931a03e2f559f9c3fe /lib/filesystem/CoursePublicFolder.php | |
| parent | c8b6c7ae16126c1c918e4e78635f1e1b1b6ca627 (diff) | |
use objects instead of idstic-4946
Diffstat (limited to 'lib/filesystem/CoursePublicFolder.php')
| -rw-r--r-- | lib/filesystem/CoursePublicFolder.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/filesystem/CoursePublicFolder.php b/lib/filesystem/CoursePublicFolder.php index 0aabac4..5432709 100644 --- a/lib/filesystem/CoursePublicFolder.php +++ b/lib/filesystem/CoursePublicFolder.php @@ -138,12 +138,12 @@ class CoursePublicFolder extends StandardFolder /** * Files in CoursePublicFolders are downloadable for all logged in users. * - * @param string $file_ref_id The ID to a FileRef. - * @param string $user_id The user who wishes to downlaod the file. + * @param FileRef $file_ref The ID to a FileRef. + * @param string $user_id The user who wishes to downlaod the file. * * @return bool */ - public function isFileDownloadable(string $file_ref_id, string $user_id): bool + public function isFileDownloadable(FileRef $file_ref, string $user_id): bool { return $this->isVisible($user_id); } |
