Cleanup some incorrect return annotations
authorErik Bernhardson <ebernhardson@wikimedia.org>
Thu, 8 Dec 2016 05:04:53 +0000 (21:04 -0800)
committerErik Bernhardson <ebernhardson@wikimedia.org>
Mon, 12 Dec 2016 18:15:05 +0000 (10:15 -0800)
Most of these are simply changing annotations to reflect
reality. If a function can return false to indicate failure
the @return should indicate it.

Some are fixing preg_match calls, preg match returns 1, 0 or false,
but the functions all claim to return booleans.

This is far from all the incorrect return types in mediawiki, there
are around 250 detected by phan, but have to start somewhere.

Change-Id: I1bbdfee6190747bde460f8a7084212ccafe169ef


No differences found