Passed
Push — master ( df3c7c...3f99e9 )
by Melech
05:17
created
src/Valkyrja/Auth/Adapters/ORMAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
                        ->where($resetTokenField, null, $user->__get($resetTokenField))
189 189
                        ->getOneOrNull();
190 190
 
191
-        if (! $dbUser) {
191
+        if (!$dbUser) {
192 192
             throw new InvalidAuthenticationException('Invalid reset token.');
193 193
         }
194 194
 
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
     {
212 212
         $dbUser = $this->getUserViaLoginFields($user);
213 213
 
214
-        if (! $dbUser) {
214
+        if (!$dbUser) {
215 215
             throw new InvalidAuthenticationException('No user found.');
216 216
         }
217 217
 
Please login to merge, or discard this patch.