Update LinkCache::addGoodLinkObj param defaults to int
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Sun, 17 Nov 2013 20:42:23 +0000 (21:42 +0100)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 18 Nov 2013 20:09:24 +0000 (21:09 +0100)
commit4a4fc11008369af390ad1ba95d127d4ef84f1f3f
tree2adcded125821357ded0470f5c1a244f6a65e7a7
parent81660007b8af86c630752333c54cc0120909ab2a
Update LinkCache::addGoodLinkObj param defaults to int

Update the defaults for $revision and $model from bool to int, making it
consistent with the documented input. Also update docs and line length.
Change "inval( $x )" to preferred "(int) $x" while changing the method.

Change-Id: Ic19a408aa7c50fb03e2c3aca8df3fa7cedc2420b
includes/cache/LinkCache.php