X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fdatabase%2Fwrapper%2Fclass_UserDatabaseWrapper.php;h=557ab085dfcf104ac3c5b15feb265d019e6d6ae0;hp=7f9f59100d336bb636c6e586ba1f14aa65ebe3cb;hb=963c572825d800849d69095e28ae13ae22eebd97;hpb=6536a4dda3b96201f7f5551dc5d42559cf8b453d diff --git a/inc/classes/main/database/wrapper/class_UserDatabaseWrapper.php b/inc/classes/main/database/wrapper/class_UserDatabaseWrapper.php index 7f9f5910..557ab085 100644 --- a/inc/classes/main/database/wrapper/class_UserDatabaseWrapper.php +++ b/inc/classes/main/database/wrapper/class_UserDatabaseWrapper.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team + * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -50,7 +50,7 @@ class UserDatabaseWrapper extends BaseDatabaseWrapper implements ManageableAccou * * @return $wrapperInstance An instance of the created wrapper class */ - public final static function createUserDatabaseWrapper () { + public static final function createUserDatabaseWrapper () { // Get a new instance $wrapperInstance = new UserDatabaseWrapper(); @@ -118,7 +118,7 @@ class UserDatabaseWrapper extends BaseDatabaseWrapper implements ManageableAccou // Is it still null? if (is_null($searchInstance)) { // Throw an exception here - throw new NullPointerException($this, self::EXCEPTION_IS_NULL_POINTER); + throw new NullPointerException($updateInstance, self::EXCEPTION_IS_NULL_POINTER); } // END - if } // END - if