Skip to content

Commit 54755b1

Browse files
committed
fix: single return
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
1 parent 1eec838 commit 54755b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Service/ExAppPreferenceService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function setUserConfigValue(string $userId, string $appId, string $config
4848
}
4949
if ($exAppPreference === null) {
5050
try {
51-
return $this->mapper->insert(new ExAppPreference([
51+
$exAppPreference = $this->mapper->insert(new ExAppPreference([
5252
'userid' => $userId,
5353
'appid' => $appId,
5454
'configkey' => $configKey,

0 commit comments

Comments
 (0)