Hi I am using sonarlint for the project can you please tell me why below is incorrect?
SonarLint: remove the literal “true” boolean value same for false?
/**
* @return bool
*/
public function authenticateUser()
{
$user = self::getUser();
return (empty($user) || $user instanceof Employee) ? true : false;
}