Best way for this nested if statement

前端 未结 0 627
遇见更好的自我
遇见更好的自我 2021-02-10 21:12

I have an if statement similar to this:

$currentAdmin = $entityManager->getRepo(Users)->findOneBy([\'admin\' => 1]);
$newAdmin = $entityManager->getRe         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题