@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | array &$matches, |
112 | 112 | int $counter |
113 | 113 | ): void { |
114 | - if (! Str::contains($param, '@')) { |
|
114 | + if (!Str::contains($param, '@')) { |
|
115 | 115 | return; |
116 | 116 | } |
117 | 117 | |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | $found = false; |
148 | 148 | |
149 | 149 | foreach ($routeDependencies as $dependencyKey => $dependency) { |
150 | - if (! $found && $class === $dependency) { |
|
150 | + if (!$found && $class === $dependency) { |
|
151 | 151 | static::findAndSetEntity($class, $param, $matches[$counter]); |
152 | 152 | |
153 | 153 | // Set found to true in case another dependency is also the same class |
@@ -176,7 +176,7 @@ discard block |
||
176 | 176 | // Attempt to get the entity from the ORM repository |
177 | 177 | $entity = static::findEntity($class, $value); |
178 | 178 | |
179 | - if (! $entity) { |
|
179 | + if (!$entity) { |
|
180 | 180 | static::entityNotFound($class, $value); |
181 | 181 | } |
182 | 182 |
@@ -188,7 +188,7 @@ discard block |
||
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 |
||
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 |