From 3a036a26f5242614319a33c152bfeaff19dc3dc0 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Sat, 2 Mar 2024 21:33:50 +0100 Subject: [PATCH] fix(IUrlGenerator): Add `throws` documentation for `imagePath` function Signed-off-by: Ferdinand Thiessen --- lib/public/IURLGenerator.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/public/IURLGenerator.php b/lib/public/IURLGenerator.php index 8229d51f231..f62503f14ec 100644 --- a/lib/public/IURLGenerator.php +++ b/lib/public/IURLGenerator.php @@ -95,6 +95,7 @@ interface IURLGenerator { * @param string $appName the name of the app * @param string $file the name of the file * @return string the url + * @throws \RuntimeException If the image does not exist * @since 6.0.0 */ public function imagePath(string $appName, string $file): string;