Message.php: Update comment to current implementation
authorFomafix <fomafix@googlemail.com>
Wed, 24 Feb 2016 19:41:50 +0000 (19:41 +0000)
committer[[mw:User:Fomafix]] <gerritpatchuploader@gmail.com>
Wed, 24 Feb 2016 19:41:50 +0000 (19:41 +0000)
Change-Id: I04f6b42380e6b8eeb5bf0d679e8fb65cb4696d1a

includes/Message.php

index 4056f38..9d5f5e6 100644 (file)
@@ -810,7 +810,7 @@ class Message implements MessageSpecifier, Serializable {
 
        /**
         * Magic method implementation of the above (for PHP >= 5.2.0), so we can do, eg:
 
        /**
         * Magic method implementation of the above (for PHP >= 5.2.0), so we can do, eg:
-        *     $foo = Message::get( $key );
+        *     $foo = new Message( $key );
         *     $string = "<abbr>$foo</abbr>";
         *
         * @since 1.18
         *     $string = "<abbr>$foo</abbr>";
         *
         * @since 1.18