From 919a9c29c6c6e31232ec61dd8050caf0592d1d20 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 8229d51f2316b..f62503f14ec84 100644 --- a/lib/public/IURLGenerator.php +++ b/lib/public/IURLGenerator.php @@ -95,6 +95,7 @@ public function linkTo(string $appName, string $file, array $args = []): string; * @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;