Page MenuHomePhabricator

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

Description

Author: jgonera

Description:
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

Details

Reference
bz51633

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:46 AM
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

https://gerrit.wikimedia.org/r/74512

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

https://gerrit.wikimedia.org/r/74512