We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
InternalSecurity
1 parent b33e6f8 commit f57f4d4Copy full SHA for f57f4d4
src/Symfony/Bundle/SecurityBundle/Security.php
@@ -30,16 +30,17 @@
30
use Symfony\Component\Security\Http\SecurityRequestAttributes;
31
use Symfony\Contracts\Service\ServiceProviderInterface;
32
33
-if (!class_exists(InternalSecurity::class, false)) {
34
- if (class_exists(LegacySecurity::class)) {
35
- class_alias(LegacySecurity::class, InternalSecurity::class);
36
- } else {
37
- /**
38
- * @internal
39
- */
40
- class InternalSecurity
41
- {
42
- }
+if (class_exists(InternalSecurity::class, false)) {
+ return;
+}
+if (class_exists(LegacySecurity::class)) {
+ class_alias(LegacySecurity::class, InternalSecurity::class);
+} else {
+ /**
+ * @internal
+ */
+ class InternalSecurity
43
+ {
44
}
45
46
0 commit comments