'public static final' is correct
[core.git] / inc / classes / main / user / guest / class_Guest.php
index 54f22a840ab98724545fc62012dc2fbcc0ad612e..687080270b5f5cb988e9688f14442f5bb5c0dd32 100644 (file)
@@ -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();
 
@@ -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();