Created
January 30, 2018 11:24
-
-
Save lmuzinic/49cef124e1ca4e265e3e84bec417bb05 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class User | |
{ | |
// ... | |
public function isAdmin() | |
{ | |
if ($this->status === self::ADMIN) { | |
- return true; | |
+ return false; | |
} | |
return false; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment