Passed
Pull Request — master (#537)
by
unknown
07:47
created
lib/Service/SetupService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
 		$verificationNumber = $this->random->generate(6, ISecureRandom::CHAR_DIGITS);
90 90
 		$gateway = $this->gatewayFactory->getGateway($gatewayName);
91 91
 		try {
92
-			if ($gatewayName == "telegram"){
92
+			if ($gatewayName == "telegram") {
93 93
 				$verificationNumber = "`$verificationNumber`";
94 94
 			}
95 95
 			$gateway->send($user, $identifier, "$verificationNumber is your Nextcloud verification code.");
Please login to merge, or discard this patch.
lib/Provider/AProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 	protected $l10n;
66 66
 
67 67
 	private function getSessionKey() {
68
-		return "twofactor_gateway_" . $this->gatewayName . "_secret";
68
+		return "twofactor_gateway_".$this->gatewayName."_secret";
69 69
 	}
70 70
 
71 71
 	public function __construct(string $gatewayId,
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 		$secret = $this->getSecret();
108 108
 
109 109
 		try {
110
-			if ($this->gatewayName == "telegram"){
110
+			if ($this->gatewayName == "telegram") {
111 111
 				$secret = "`$secret`";
112 112
 			}
113 113
 			$identifier = $this->stateStorage->get($user, $this->gatewayName)->getIdentifier();
Please login to merge, or discard this patch.