Improve OutputPage::showErrorPage method documentation
authorDereckson <dereckson@espace-win.org>
Wed, 29 Jan 2014 15:30:40 +0000 (16:30 +0100)
committerDereckson <dereckson@espace-win.org>
Wed, 29 Jan 2014 15:37:10 +0000 (15:37 +0000)
- Added the most usual case of call
- Fixed the incoherence between -Object and -Obj

Change-Id: I81207f4ef46a43529974e3ada194f2948a1e9017

includes/OutputPage.php

index 9866e2c..04792cf 100644 (file)
@@ -2130,9 +2130,10 @@ class OutputPage extends ContextSource {
        /**
         * Output a standard error page
         *
+        * showErrorPage( 'titlemsg', 'pagetextmsg' );
         * showErrorPage( 'titlemsg', 'pagetextmsg', array( 'param1', 'param2' ) );
         * showErrorPage( 'titlemsg', $messageObject );
-        * showErrorPage( $titleMessageObj, $messageObject );
+        * showErrorPage( $titleMessageObject, $messageObject );
         *
         * @param $title Mixed: message key (string) for page title, or a Message object
         * @param $msg Mixed: message key (string) for page text, or a Message object