Umherirrender has uploaded a new change for review. https://gerrit.wikimedia.org/r/104664
Change subject: Format functions in CacheTime ...................................................................... Format functions in CacheTime The function body should stay on it's own line Change-Id: I1651ab2520ae278dd72a2f28718151280ddbba54 --- M includes/parser/CacheTime.php 1 file changed, 20 insertions(+), 4 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/64/104664/1 diff --git a/includes/parser/CacheTime.php b/includes/parser/CacheTime.php index 7b8935a..e1b3f28 100644 --- a/includes/parser/CacheTime.php +++ b/includes/parser/CacheTime.php @@ -40,10 +40,24 @@ /** * @return string TS_MW timestamp */ - function getCacheTime() { return wfTimestamp( TS_MW, $this->mCacheTime ); } + function getCacheTime() { + return wfTimestamp( TS_MW, $this->mCacheTime ); + } - function containsOldMagic() { return $this->mContainsOldMagic; } - function setContainsOldMagic( $com ) { return wfSetVar( $this->mContainsOldMagic, $com ); } + /** + * @return bool + */ + function containsOldMagic() { + return $this->mContainsOldMagic; + } + + /** + * @param $com bool + * @return bool + */ + function setContainsOldMagic( $com ) { + return wfSetVar( $this->mContainsOldMagic, $com ); + } /** * setCacheTime() sets the timestamp expressing when the page has been rendered. @@ -51,7 +65,9 @@ * @param $t string * @return string */ - function setCacheTime( $t ) { return wfSetVar( $this->mCacheTime, $t ); } + function setCacheTime( $t ) { + return wfSetVar( $this->mCacheTime, $t ); + } /** * Sets the number of seconds after which this object should expire. -- To view, visit https://gerrit.wikimedia.org/r/104664 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I1651ab2520ae278dd72a2f28718151280ddbba54 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Umherirrender <umherirrender_de...@web.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits