aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
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:07:27 +0000
commit919a9c29c6c6e31232ec61dd8050caf0592d1d20 (patch)
tree694f3c3b6fcd175e9d04276f54a60f367b30508b /lib/public
parent8640cf61736eff203e4b266f4ef85f4b393aecf0 (diff)
downloadnextcloud-server-919a9c29c6c6e31232ec61dd8050caf0592d1d20.tar.gz
nextcloud-server-919a9c29c6c6e31232ec61dd8050caf0592d1d20.zip
fix(IUrlGenerator): Add `throws` documentation for `imagePath` function
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'lib/public')
-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;