X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fuser%2Fguest%2Fclass_Guest.php;h=a8608426a594a8eb7ad7ad2dd21a86588ebf8a95;hp=befd4127c6939dd46625e64520ee521c35a350f4;hb=f5cf5211620c1813c76d8231819b63a585fb2689;hpb=361e6320e50a8bb1a3ccb675388b8042361669ae diff --git a/inc/classes/main/user/guest/class_Guest.php b/inc/classes/main/user/guest/class_Guest.php index befd4127..a8608426 100644 --- a/inc/classes/main/user/guest/class_Guest.php +++ b/inc/classes/main/user/guest/class_Guest.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007 - 2009 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -46,7 +46,7 @@ class Guest extends BaseUser implements ManageableGuest, Registerable { * @return $userInstance An instance of this user class * @throws UsernameMissingException If the username does not exist */ - public final static function createGuestByUsername ($userName) { + public static final function createGuestByUsername ($userName) { // Get a new instance $userInstance = new Guest(); @@ -54,7 +54,7 @@ class Guest extends BaseUser implements ManageableGuest, Registerable { $userInstance->setUserName($userName); // Check if username exists - if ($userInstance->ifUsernameExists() === false) { + if ($userInstance->ifUsernameExists() === FALSE) { // Throw an exception here throw new UsernameMissingException(array($userInstance, $userName), self::EXCEPTION_USERNAME_NOT_FOUND); } // END - if @@ -70,7 +70,7 @@ class Guest extends BaseUser implements ManageableGuest, Registerable { * @param $email Email address of the user * @return $userInstance An instance of this user class */ - public final static function createGuestByEmail ($email) { + public static final function createGuestByEmail ($email) { // Get a new instance $userInstance = new Guest();