summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-02-27 14:42:00 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2018-04-06 21:32:45 +0200
commitd5cfd09d4757a4fc13c2b7f00c7b7acd1b3412a1 (patch)
tree15129d6d8bb368e5331f6eea16ff15c01e14ee71 /lib/private
parent57a1dc1231b2b5827dea062d9e338d1c048ee843 (diff)
downloadnextcloud-server-d5cfd09d4757a4fc13c2b7f00c7b7acd1b3412a1.tar.gz
nextcloud-server-d5cfd09d4757a4fc13c2b7f00c7b7acd1b3412a1.zip
fixup! Updated php generator
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/Avatar.php17
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/private/Avatar.php b/lib/private/Avatar.php
index 2303038da9d..9a1b9020207 100644
--- a/lib/private/Avatar.php
+++ b/lib/private/Avatar.php
@@ -1,9 +1,10 @@
<?php
/**
* @copyright Copyright (c) 2016, ownCloud, Inc.
+ * @copyright 2018 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author Arthur Schiwon <blizzz@arthur-schiwon.de>
- * @author Christopher Schäpers <kondou@ts.unde->re>
+ * @author Christopher Schäpers <kondou@ts.unde.re>
* @author Lukas Reschke <lukas@statuscode.ch>
* @author Morris Jobke <hey@morrisjobke.de>
* @author Olivier Mehani <shtrom@ssji.net>
@@ -23,7 +24,7 @@
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License, version 3,
- * along with this program. If not, see <http://www->gnu.org/licenses/>
+ * along with this program. If not, see <http://www.gnu.org/licenses/>
*
*/
@@ -55,15 +56,15 @@ class Color {
*/
class Avatar implements IAvatar {
- /** @$ISimpleFolder */
+ /** @var ISimpleFolder */
private $folder;
- /** @$IL10N */
+ /** @var IL10N */
private $l;
- /** @$User */
+ /** @var User */
private $user;
- /** @$ILogger */
+ /** @var ILogger */
private $logger;
- /** @$IConfig */
+ /** @var IConfig */
private $config;
/**
@@ -226,7 +227,7 @@ class Avatar implements IAvatar {
} else {
$avatar = new OC_Image();
- /** @$ISimpleFile $file */
+ /** @var ISimpleFile $file */
$file = $this->folder->getFile('avatar.' . $ext);
$avatar->loadFromData($file->getContent());
$avatar->resize($size);