Passed
Push — master ( 3a39f2...725fec )
by Morris
12:18 queued 11s
created
lib/private/Authentication/TwoFactorAuth/Db/ProviderUserAssignmentDao.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
 		$result = $query->execute();
61 61
 		$providers = [];
62 62
 		foreach ($result->fetchAll() as $row) {
63
-			$providers[$row['provider_id']] = 1 === (int)$row['enabled'];
63
+			$providers[$row['provider_id']] = 1 === (int) $row['enabled'];
64 64
 		}
65 65
 		$result->closeCursor();
66 66
 
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 			->where($qb2->expr()->eq('uid', $qb2->createNamedParameter($uid)));
115 115
 		$deleteQuery->execute();
116 116
 
117
-		return array_map(function (array $row) {
117
+		return array_map(function(array $row) {
118 118
 			return [
119 119
 				'provider_id' => $row['provider_id'],
120 120
 				'uid' => $row['uid'],
Please login to merge, or discard this patch.