From 590d691b12f825cae814012bda46a20014bab919 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Sat, 13 Apr 2013 23:50:17 +0200 Subject: [PATCH] Small optimization --- wcfsetup/install/files/lib/data/user/User.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/data/user/User.class.php b/wcfsetup/install/files/lib/data/user/User.class.php index 76cf860842..fe8daac145 100644 --- a/wcfsetup/install/files/lib/data/user/User.class.php +++ b/wcfsetup/install/files/lib/data/user/User.class.php @@ -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 -- 2.20.1