summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-05-28 11:06:33 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-06-13 18:46:05 +0200
commit16ec9d96708793cc6d7016743d6d8ba9182088bd (patch)
tree36b9eed50f0da78fa79dcf068e0fcffca444e204 /lib/private
parent156da29ceade106176e2288ef391c4cb2006d800 (diff)
downloadnextcloud-server-16ec9d96708793cc6d7016743d6d8ba9182088bd.tar.gz
nextcloud-server-16ec9d96708793cc6d7016743d6d8ba9182088bd.zip
Removed old route, fix tests and fix var type
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Avatar.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Avatar.php b/lib/private/Avatar.php
index 270f69a96ad..9dbeb4ac745 100644
--- a/lib/private/Avatar.php
+++ b/lib/private/Avatar.php
@@ -301,7 +301,7 @@ class Avatar implements IAvatar {
* Generate png avatar from svg with Imagick
*
* @param int $size
- * @return string
+ * @return string|boolean
*/
private function generateAvatarFromSvg(int $size) {
if (!extension_loaded('imagick')) {