aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Share20
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2024-09-05 21:23:38 +0200
committerAnna Larch <anna@nextcloud.com>2024-09-05 21:23:38 +0200
commit8af7ecb2576071f170ecbb0aa2311b26581e40e2 (patch)
tree9a8f3595cb28493368f78b0a049254d0a256b3c1 /lib/private/Share20
parent4566cf791d55f1202f4a1888b9cd23a7be0ed2c9 (diff)
downloadnextcloud-server-8af7ecb2576071f170ecbb0aa2311b26581e40e2.tar.gz
nextcloud-server-8af7ecb2576071f170ecbb0aa2311b26581e40e2.zip
chore: adjust code to adhere to coding standard
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'lib/private/Share20')
-rw-r--r--lib/private/Share20/Manager.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php
index 391b77171a9..bb34468db6e 100644
--- a/lib/private/Share20/Manager.php
+++ b/lib/private/Share20/Manager.php
@@ -275,7 +275,7 @@ class Manager implements IManager {
// If $expirationDate is falsy, noExpirationDate is true and expiration not enforced
// Then skip expiration date validation as null is accepted
- if(!$share->getNoExpirationDate() || $isEnforced) {
+ if (!$share->getNoExpirationDate() || $isEnforced) {
if ($expirationDate !== null) {
$expirationDate->setTimezone($this->dateTimeZone->getTimeZone());
$expirationDate->setTime(0, 0, 0);
@@ -353,7 +353,7 @@ class Manager implements IManager {
// If $expirationDate is falsy, noExpirationDate is true and expiration not enforced
// Then skip expiration date validation as null is accepted
- if(!($share->getNoExpirationDate() && !$isEnforced)) {
+ if (!($share->getNoExpirationDate() && !$isEnforced)) {
if ($expirationDate !== null) {
$expirationDate->setTimezone($this->dateTimeZone->getTimeZone());
$expirationDate->setTime(0, 0, 0);