Skip to content

Commit

Permalink
cs-fix
Browse files Browse the repository at this point in the history
Signed-off-by: dartcafe <github@dartcafe.de>
  • Loading branch information
dartcafe committed Sep 6, 2024
1 parent 1ecc983 commit f33f43d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Service/PreferencesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __construct(
public function load(): void {
try {
$this->preferences = $this->preferencesMapper->find($this->userSession->getCurrentUserId());
} catch (Exception $e) {
} catch (Exception $e) {
$this->preferences = new Preferences;
}
}
Expand Down
2 changes: 1 addition & 1 deletion lib/Service/WatchService.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct(
*/
public function watchUpdates(int $pollId, ?int $offset = null): array {

if($pollId !== 0) {
if ($pollId !== 0) {
$this->pollMapper->find($pollId)->request(Poll::PERMISSION_POLL_VIEW);
}

Expand Down

0 comments on commit f33f43d

Please sign in to comment.