fix doc
authorJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Mon, 13 Feb 2012 19:13:30 +0000 (19:13 +0000)
committerJeroen De Dauw <jeroendedauw@users.mediawiki.org>
Mon, 13 Feb 2012 19:13:30 +0000 (19:13 +0000)
includes/Revision.php
includes/WikiPage.php

index f8e6890..f155e6a 100644 (file)
@@ -501,7 +501,7 @@ class Revision {
        /**
         * Get parent revision ID (the original previous page revision)
         *
-        * @return Integer
+        * @return Integer|null
         */
        public function getParentId() {
                return $this->mParentId;
index ea66ab7..b8e7211 100644 (file)
@@ -445,6 +445,7 @@ class WikiPage extends Page {
                if ( !$this->mTimestamp ) {
                        $this->loadLastEdit();
                }
+               
                return wfTimestamp( TS_MW, $this->mTimestamp );
        }