Page MenuHomePhabricator

User::getEditCount() often returns a string
Closed, ResolvedPublic


Author: jgonera

The docs comment says it should return an int and that's the most logical type for it to return. For some reason, it returns a string when running on Apache, even though it returns an int when running PHPUnit tests.

Version: 1.22.0
Severity: normal



Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:46 AM
bzimport added a project: Wikimedia-Rdbms.
bzimport set Reference to bz51633.
bzimport added a subscriber: Unknown Object (MLST).

Change 74512 had a related patch set uploaded by JGonera:
Make User::getEditCount() always return an integer

Change 74512 merged by jenkins-bot:
Make User::getEditCount() always return an integer