https://www.mediawiki.org/wiki/Special:Code/MediaWiki/110116
Revision: 110116 Author: jeroendedauw Date: 2012-01-27 12:03:37 +0000 (Fri, 27 Jan 2012) Log Message: ----------- type hinting and docs Modified Paths: -------------- trunk/extensions/SemanticForms/includes/SF_Utils.php Modified: trunk/extensions/SemanticForms/includes/SF_Utils.php =================================================================== --- trunk/extensions/SemanticForms/includes/SF_Utils.php 2012-01-27 12:01:04 UTC (rev 110115) +++ trunk/extensions/SemanticForms/includes/SF_Utils.php 2012-01-27 12:03:37 UTC (rev 110116) @@ -825,15 +825,20 @@ * * @author Solitarius * @since 2.4 + * + * @param EditPage $editpage + * @param WebRequest $request + * + * @return true */ - public static function showFormPreview( $editpage, $request ) { + public static function showFormPreview( EditPage $editpage, WebRequest $request ) { global $wgOut, $sfgFormPrinter; wfDebug( __METHOD__ . ": enter.\n" ); wfProfileIn( __METHOD__ ); // Exit if we're not in preview mode. - if ( ! $editpage->preview ) { + if ( !$editpage->preview ) { return true; } // Exit if we aren't in the "Form" namespace. _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs