Skip to content

Commit 230168c

Browse files
matthiasnobackweaverryan
authored andcommitted
Followed CS for catch statement
1 parent 26a8c1d commit 230168c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cookbook/security/custom_provider.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ which requires three methods to be defined:
155155
// $user = ...;
156156
157157
return new WebserviceUser($user->getUsername(), $user->getPassword(), $user->getSalt(), $user->getRoles())
158-
}
159-
catch(WebserviceUserNotFoundException $e) {
158+
} catch(WebserviceUserNotFoundException $e) {
160159
throw new UsernameNotFoundException(sprintf('Username "%s" does not exist.', $username));
161160
}
162161
}

0 commit comments

Comments
 (0)