summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-03-04 15:09:31 +0100
committerGitHub <noreply@github.com>2024-03-04 15:09:31 +0100
commita14ec0ace63db04966ba6ad596b88ce369c7987b (patch)
tree694f3c3b6fcd175e9d04276f54a60f367b30508b
parent8640cf61736eff203e4b266f4ef85f4b393aecf0 (diff)
parent919a9c29c6c6e31232ec61dd8050caf0592d1d20 (diff)
downloadnextcloud-server-a14ec0ace63db04966ba6ad596b88ce369c7987b.tar.gz
nextcloud-server-a14ec0ace63db04966ba6ad596b88ce369c7987b.zip
Merge pull request #43978 from nextcloud/backport/43959/stable28
[stable28] fix(IUrlGenerator): Add `throws` documentation for `imagePath` function
-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;