From bf00b546f3c7b597b0657e477497e242fda6b6a6 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Thu, 19 Dec 2013 10:25:33 -0800 Subject: [PATCH] User::loadFromRow takes a stdClass object, not an array Change-Id: I8e0a56c02d474884a946d35dbab44bb39179d791 --- includes/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/User.php b/includes/User.php index a2e702379a..e7c5a326f4 100644 --- a/includes/User.php +++ b/includes/User.php @@ -1041,7 +1041,7 @@ class User { /** * Initialize this object from a row from the user table. * - * @param array $row Row from the user table to load. + * @param stdClass $row Row from the user table to load. * @param array $data Further user data to load into the object * * user_groups Array with groups out of the user_groups table -- 2.20.1