aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/IURLGenerator.php
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-03-02 21:33:50 +0100
committerFerdinand Thiessen <opensource@fthiessen.de>2024-03-02 21:33:50 +0100
commit3a036a26f5242614319a33c152bfeaff19dc3dc0 (patch)
treefae63e9b6141f8fb4caddafff5780b1d11f6dfdb /lib/public/IURLGenerator.php
parent5748c8cf63975c80700cfdcb846cc3ca1ceef4a2 (diff)
downloadnextcloud-server-3a036a26f5242614319a33c152bfeaff19dc3dc0.tar.gz
nextcloud-server-3a036a26f5242614319a33c152bfeaff19dc3dc0.zip
fix(IUrlGenerator): Add `throws` documentation for `imagePath` function
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'lib/public/IURLGenerator.php')
-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;