diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-11-22 12:34:37 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-11-22 12:34:37 +0100 |
commit | 92c8672c0f4cae5881abdb4832955e3fa6ae6350 (patch) | |
tree | c65528084d9de9dc57ddb928c74a657e770d0565 /lib/private/avatar.php | |
parent | f94a6eb1669cbdae45ccd76ecc4c07988ecddecf (diff) | |
download | nextcloud-server-92c8672c0f4cae5881abdb4832955e3fa6ae6350.tar.gz nextcloud-server-92c8672c0f4cae5881abdb4832955e3fa6ae6350.zip |
fixing PHPDoc comments and syntax
Diffstat (limited to 'lib/private/avatar.php')
-rw-r--r-- | lib/private/avatar.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/avatar.php b/lib/private/avatar.php index e82e517b091..814a9b22bed 100644 --- a/lib/private/avatar.php +++ b/lib/private/avatar.php @@ -54,7 +54,9 @@ class OC_Avatar implements \OCP\IAvatar { $img = new OC_Image($data); $type = substr($img->mimeType(), -3); - if ($type === 'peg') { $type = 'jpg'; } + if ($type === 'peg') { + $type = 'jpg'; + } if ($type !== 'jpg' && $type !== 'png') { $l = \OC_L10N::get('lib'); throw new \Exception($l->t("Unknown filetype")); |