diff options
Diffstat (limited to 'Role')
-rw-r--r-- | Role/Role.php | 4 | ||||
-rw-r--r-- | Role/RoleHierarchy.php | 4 | ||||
-rw-r--r-- | Role/RoleHierarchyInterface.php | 4 | ||||
-rw-r--r-- | Role/RoleInterface.php | 4 | ||||
-rw-r--r-- | Role/SwitchUserRole.php | 8 |
5 files changed, 12 insertions, 12 deletions
diff --git a/Role/Role.php b/Role/Role.php index 3404cb9..2f2b066 100644 --- a/Role/Role.php +++ b/Role/Role.php @@ -1,7 +1,5 @@ <?php -namespace Symfony\Component\Security\Role; - /* * This file is part of the Symfony package. * @@ -11,6 +9,8 @@ namespace Symfony\Component\Security\Role; * file that was distributed with this source code. */ +namespace Symfony\Component\Security\Role; + /** * Role is a simple implementation of a RoleInterface where the role is a * string. diff --git a/Role/RoleHierarchy.php b/Role/RoleHierarchy.php index 11864b3..a2eeb43 100644 --- a/Role/RoleHierarchy.php +++ b/Role/RoleHierarchy.php @@ -1,7 +1,5 @@ <?php -namespace Symfony\Component\Security\Role; - /* * This file is part of the Symfony package. * @@ -11,6 +9,8 @@ namespace Symfony\Component\Security\Role; * file that was distributed with this source code. */ +namespace Symfony\Component\Security\Role; + /** * RoleHierarchy defines a role hierarchy. * diff --git a/Role/RoleHierarchyInterface.php b/Role/RoleHierarchyInterface.php index b435618..0937b37 100644 --- a/Role/RoleHierarchyInterface.php +++ b/Role/RoleHierarchyInterface.php @@ -1,7 +1,5 @@ <?php -namespace Symfony\Component\Security\Role; - /* * This file is part of the Symfony package. * @@ -11,6 +9,8 @@ namespace Symfony\Component\Security\Role; * file that was distributed with this source code. */ +namespace Symfony\Component\Security\Role; + /** * RoleHierarchyInterface is the interface for a role hierarchy. * diff --git a/Role/RoleInterface.php b/Role/RoleInterface.php index 4b55609..e958466 100644 --- a/Role/RoleInterface.php +++ b/Role/RoleInterface.php @@ -1,7 +1,5 @@ <?php -namespace Symfony\Component\Security\Role; - /* * This file is part of the Symfony package. * @@ -11,6 +9,8 @@ namespace Symfony\Component\Security\Role; * file that was distributed with this source code. */ +namespace Symfony\Component\Security\Role; + /** * RoleInterface represents a role granted to a user. * diff --git a/Role/SwitchUserRole.php b/Role/SwitchUserRole.php index d67fa74..df6d1eb 100644 --- a/Role/SwitchUserRole.php +++ b/Role/SwitchUserRole.php @@ -1,9 +1,5 @@ <?php -namespace Symfony\Component\Security\Role; - -use Symfony\Component\Security\Authentication\Token\TokenInterface; - /* * This file is part of the Symfony package. * @@ -13,6 +9,10 @@ use Symfony\Component\Security\Authentication\Token\TokenInterface; * file that was distributed with this source code. */ +namespace Symfony\Component\Security\Role; + +use Symfony\Component\Security\Authentication\Token\TokenInterface; + /** * SwitchUserRole is used when the current user temporarily impersonates * another one. |