aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-03-02 21:33:50 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-03-04 11:06:10 +0000
commit8ac04e56f7d67a78ee83e15ab0b5d4ff577c1676 (patch)
tree1591e7352567338d7fdace98bd6d331927d22711
parent0045e761fcfd45c77e83fe966694493163c04ff9 (diff)
downloadnextcloud-server-8ac04e56f7d67a78ee83e15ab0b5d4ff577c1676.tar.gz
nextcloud-server-8ac04e56f7d67a78ee83e15ab0b5d4ff577c1676.zip
fix(IUrlGenerator): Add `throws` documentation for `imagePath` function
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
-rw-r--r--lib/public/IURLGenerator.php1
1 files changed, 1 insertions, 0 deletions
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;