Change-Id: Ic6b664b3bb90e98781e2e6e8a5f2db3280181ea3
* return $this. That is, $copy === $original may be true, but only for imutable content
* objects.
*
- * @return a copy of this Content object
+ * @return Content. A copy of this object
*/
public abstract function copy( );
*
* @param $hasLinks Bool: if it is known whether this content contains links, provide this information here,
* to avoid redundant parsing to find out.
+ * @return boolean
*/
public abstract function isCountable( $hasLinks = null ) ;
if ( $this->mLastRevision ) {
return $this->mLastRevision->getContent( $audience );
}
- return false;
+ return null;
}
/**