docu fix: declare param type
authordaniel <daniel.kinzler@wikimedia.de>
Tue, 24 Apr 2012 14:17:51 +0000 (16:17 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Tue, 24 Apr 2012 14:17:51 +0000 (16:17 +0200)
includes/ContentHandler.php

index d3acfa3..5f45c6c 100644 (file)
@@ -72,7 +72,7 @@ abstract class ContentHandler {
      * if that is not given, $title->getContentModelName()) using the given format.
      *
      * @static
-     * @param $text the textual represenation, will be unserialized to create the Content object
+     * @param string $text the textual represenation, will be unserialized to create the Content object
      * @param Title $title the title of the page this text belongs to, required as a context for deserialization
      * @param null|String $modelName the model to deserialize to. If not provided, $title->getContentModelName() is used.
      * @param null|String $format the format to use for deserialization. If not given, the model's default format is used.