Skip to content
Code-Schnipsel Gruppen Projekte
Commit 3976672e erstellt von Patrick Müller's avatar Patrick Müller
Dateien durchsuchen

style: code style

Übergeordneter 69f53440
Keine zugehörigen Branchen gefunden
Tags 3.2.0
2 Merge Requests!17feat: improve verification design,!13Update 'next-4.x' with latest changes from 'main'
Pipeline-Nr. 13996 mit Warnungen bestanden
...@@ -128,7 +128,7 @@ public function getBody(): string ...@@ -128,7 +128,7 @@ public function getBody(): string
'quiqqer/verification', 'quiqqer/verification',
'exception.controls.AddressVerification.error.invalid_code' 'exception.controls.AddressVerification.error.invalid_code'
); );
} catch (\Exception|\Throwable $exception) { } catch (\Exception | \Throwable $exception) {
if ($exception instanceof Exception) { if ($exception instanceof Exception) {
QUI\System\Log::writeException($exception); QUI\System\Log::writeException($exception);
} }
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
use function dirname; use function dirname;
readonly class Address final class Address
{ {
public function __construct( public function __construct(
public string $name, public string $name,
......
...@@ -32,7 +32,8 @@ function redirect(string $target): never ...@@ -32,7 +32,8 @@ function redirect(string $target): never
QUI\System\Log::writeException($exception); QUI\System\Log::writeException($exception);
$errorMsg = QUI::getLocale()->get( $errorMsg = QUI::getLocale()->get(
'quiqqer/verification', 'message.types.verifyAddress.error.general' 'quiqqer/verification',
'message.types.verifyAddress.error.general'
); );
} }
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren