aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/User
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/User')
-rw-r--r--lib/private/User/Manager.php2
-rw-r--r--lib/private/User/OutOfOfficeData.php6
-rw-r--r--lib/private/User/User.php2
3 files changed, 6 insertions, 4 deletions
diff --git a/lib/private/User/Manager.php b/lib/private/User/Manager.php
index 9a84b102a99..925d0e53921 100644
--- a/lib/private/User/Manager.php
+++ b/lib/private/User/Manager.php
@@ -201,7 +201,7 @@ class Manager extends PublicEmitter implements IUserManager {
$result = $this->checkPasswordNoLogging($loginName, $password);
if ($result === false) {
- \OCP\Server::get(LoggerInterface::class)->warning('Login failed: \''. $loginName .'\' (Remote IP: \''. \OC::$server->getRequest()->getRemoteAddress(). '\')', ['app' => 'core']);
+ \OCP\Server::get(LoggerInterface::class)->warning('Login failed: \'' . $loginName . '\' (Remote IP: \'' . \OC::$server->getRequest()->getRemoteAddress() . '\')', ['app' => 'core']);
}
return $result;
diff --git a/lib/private/User/OutOfOfficeData.php b/lib/private/User/OutOfOfficeData.php
index b1739126443..0d4e142567e 100644
--- a/lib/private/User/OutOfOfficeData.php
+++ b/lib/private/User/OutOfOfficeData.php
@@ -13,14 +13,16 @@ use OCP\IUser;
use OCP\User\IOutOfOfficeData;
class OutOfOfficeData implements IOutOfOfficeData {
- public function __construct(private string $id,
+ public function __construct(
+ private string $id,
private IUser $user,
private int $startDate,
private int $endDate,
private string $shortMessage,
private string $message,
private ?string $replacementUserId,
- private ?string $replacementUserDisplayName) {
+ private ?string $replacementUserDisplayName,
+ ) {
}
public function getId(): string {
diff --git a/lib/private/User/User.php b/lib/private/User/User.php
index 6f7ceb08532..f2c38825338 100644
--- a/lib/private/User/User.php
+++ b/lib/private/User/User.php
@@ -524,7 +524,7 @@ class User implements IUser {
if ($quota !== 'none' and $quota !== 'default') {
$bytesQuota = OC_Helper::computerFileSize($quota);
if ($bytesQuota === false) {
- throw new InvalidArgumentException('Failed to set quota to invalid value '.$quota);
+ throw new InvalidArgumentException('Failed to set quota to invalid value ' . $quota);
}
$quota = OC_Helper::humanFileSize($bytesQuota);
}