Skip to content

Commit 5c778a4

Browse files
authored
Merge pull request nextcloud#43977 from nextcloud/backport/43959/stable27
[stable27] fix(IUrlGenerator): Add `throws` documentation for `imagePath` function
2 parents 0045e76 + 8ac04e5 commit 5c778a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/public/IURLGenerator.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public function linkTo(string $appName, string $file, array $args = []): string;
9595
* @param string $appName the name of the app
9696
* @param string $file the name of the file
9797
* @return string the url
98+
* @throws \RuntimeException If the image does not exist
9899
* @since 6.0.0
99100
*/
100101
public function imagePath(string $appName, string $file): string;

0 commit comments

Comments
 (0)