Merge pull request #43978 from nextcloud/backport/43959/stable28

[stable28] fix(IUrlGenerator): Add `throws` documentation for `imagePath` function
This commit is contained in:
Ferdinand Thiessen 2024-03-04 15:09:31 +01:00 committed by GitHub
commit a14ec0ace6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;