Skip to content

Commit

Permalink
fixed:entity repository 写法更新
Browse files Browse the repository at this point in the history
  • Loading branch information
CJayHe committed Oct 26, 2022
1 parent 1746632 commit fccc2ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Business/AuthBusiness/UserAuthBusiness.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function __construct(ContainerInterface $container)
{
parent::__construct($container);

$this->userAuthRepository = $this->getDoctrine()->getRepository('App:UserAuth');
$this->userAuthRepository = $this->getDoctrine()->getRepository(UserAuth::class);
}

/**
Expand Down

0 comments on commit fccc2ec

Please sign in to comment.