If there is nobody logged in, and there is no guest user account, what would you suggest it returns?
array(false,false) is a bit weird too, it's better to modify the method signature. If only because changing this will break every application using Auth.
"If there is nobody logged in, and there is no guest user account, what would you suggest it returns?" An empty array.
array(false,false) is a bit weird too, it's better to modify the method signature. If only because changing this will break every application using Auth. Yes, you're right! :)