Skip to content

Commit a44d4ce

Browse files
committed
use final annotation to allow mocking the class
1 parent 9441dc4 commit a44d4ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Security.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@
1717

1818
/**
1919
* Helper class for commonly-needed security tasks.
20+
*
21+
* @final
2022
*/
21-
final class Security
23+
class Security
2224
{
2325
const ACCESS_DENIED_ERROR = '_security.403_error';
2426
const AUTHENTICATION_ERROR = '_security.last_error';

0 commit comments

Comments
 (0)