1
0
mirror of https://github.com/flarum/core.git synced 2025-10-11 15:04:25 +02:00

Applied fixes from StyleCI

This commit is contained in:
Toby Zerner
2016-02-25 22:09:39 -05:00
committed by StyleCI Bot
parent 83c22d73a4
commit a6cf10f854
96 changed files with 240 additions and 245 deletions

View File

@@ -170,10 +170,10 @@ class RegisterUserHandler
'target' => $this->uploadDir,
]);
$uploadName = Str::lower(Str::quickRandom()) . '.jpg';
$uploadName = Str::lower(Str::quickRandom()).'.jpg';
$user->changeAvatarPath($uploadName);
$mount->move("source://".pathinfo($tmpFile, PATHINFO_BASENAME), "target://$uploadName");
$mount->move('source://'.pathinfo($tmpFile, PATHINFO_BASENAME), "target://$uploadName");
}
}