Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit f5b7291

Browse files
committed
use final annotation to allow mocking the class
1 parent 100506d commit f5b7291

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Core/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)