style: Apply php-cs-fixer updates

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2024-02-05 07:14:04 +01:00
parent f83290f075
commit 1fdc164462
13 changed files with 18 additions and 18 deletions

View File

@@ -110,7 +110,7 @@ class ConfigService {
return false;
}
public function isCalendarEnabled(int $boardId = null): bool {
public function isCalendarEnabled(?int $boardId = null): bool {
if ($this->getUserId() === null) {
return false;
}
@@ -124,7 +124,7 @@ class ConfigService {
return (bool)$this->config->getUserValue($this->getUserId(), Application::APP_ID, 'board:' . $boardId . ':calendar', $defaultState);
}
public function isCardDetailsInModal(int $boardId = null): bool {
public function isCardDetailsInModal(?int $boardId = null): bool {
if ($this->getUserId() === null) {
return false;
}
@@ -223,7 +223,7 @@ class ConfigService {
return array_filter($groups);
}
public function getAttachmentFolder(string $userId = null): string {
public function getAttachmentFolder(?string $userId = null): string {
if ($userId === null && $this->getUserId() === null) {
throw new NoPermissionException('Must be logged in get the attachment folder');
}