Passed
Pull Request — master (#1266)
by Tarmo
07:49
created
src/Security/SecurityUser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/Security/SecurityUser.php
5 5
  *
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 class SecurityUser implements UserInterface, PasswordAuthenticatedUserInterface
22 22
 {
23 23
     private string $identifier;
24
-    private string | null $password;
24
+    private string|null $password;
25 25
     private string $language;
26 26
     private string $locale;
27 27
     private string $timezone;
Please login to merge, or discard this patch.
src/EventSubscriber/LockedUserSubscriber.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 /**
4 4
  * /src/EventSubscriber/LockedUserSubscriber.php
5 5
  *
@@ -93,9 +93,9 @@  discard block
 block discarded – undo
93 93
     /**
94 94
      * @throws Throwable
95 95
      */
96
-    private function getUser(string | object $user): ?User
96
+    private function getUser(string|object $user): ?User
97 97
     {
98
-        return match (true) {
98
+        return match(true) {
99 99
             is_string($user) => $this->userRepository->loadUserByIdentifier($user, false),
100 100
             $user instanceof SecurityUser =>
101 101
                 $this->userRepository->loadUserByIdentifier($user->getUserIdentifier(), true),
Please login to merge, or discard this patch.