Skip to content

Commit

Permalink
SecurityExtension: use ::class
Browse files Browse the repository at this point in the history
  • Loading branch information
pepakriz committed Oct 15, 2014
1 parent 9a128e4 commit 5e85541
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Security/DI/SecurityExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ public function getUserTypes()
new UserType(
'Default user',
\Venne\Security\DefaultType\User::class,
new Statement('@' . \Venne\Security\DefaultType\AdminFormService::getReflection()->getName()),
new Statement('@' . \Venne\Security\DefaultType\FrontFormService::getReflection()->getName()),
new Statement('@' . \Venne\Security\DefaultType\RegistrationFormService::getReflection()->getName())
new Statement('@' . \Venne\Security\DefaultType\AdminFormService::class),
new Statement('@' . \Venne\Security\DefaultType\FrontFormService::class),
new Statement('@' . \Venne\Security\DefaultType\RegistrationFormService::class)
),
);
}
Expand Down

0 comments on commit 5e85541

Please sign in to comment.