Skip to content

Commit a0dd6f1

Browse files
CJayHegitee-org
authored andcommitted
update admin-business/index.markdown.
Signed-off-by: Jay_he <1044295598@qq.com>
1 parent ab84b38 commit a0dd6f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

admin-business/index.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public static function get(ContainerInterface $container)
120120
switch (PlatformClass::getPlatform()){
121121
case $container->get('parameter_bag')->get('platform_admin'):
122122
$user_auth_id = $container->get('session')->get(PlatformClass::getPlatform() . $container->get('parameter_bag')->get('login_tag_session_name'));
123-
$userAuth = $doctrine->getRepository('App:UserAuth')->find($user_auth_id);
123+
$userAuth = $doctrine->getRepository(UserAuth::class)->find($user_auth_id);
124124
break;
125125
default:
126126
throw new \Exception('来源溢出');

0 commit comments

Comments
 (0)