Small optimization
authorMarcel Werk <burntime@woltlab.com>
Sat, 13 Apr 2013 21:50:17 +0000 (23:50 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sat, 13 Apr 2013 21:50:17 +0000 (23:50 +0200)
wcfsetup/install/files/lib/data/user/User.class.php

index 76cf860842de2064c3efd47b12ae839bf3570893..fe8daac145b16d8a92b07201c56e726f3857134d 100644 (file)
@@ -59,7 +59,7 @@ final class User extends DatabaseObject implements IRESTfulResponse, IRouteContr
        /**
         * @see wcf\data\DatabaseObject::__construct()
         */
-       public function __construct($id, $row = null, User $object = null) {
+       public function __construct($id, $row = null, DatabaseObject $object = null) {
                if ($id !== null) {
                        $sql = "SELECT          user_option_value.*, user_table.*
                                FROM            wcf".WCF_N."_user user_table