Fix XmlTypeCheck docs
authorMatthew Flaschen <mflaschen@wikimedia.org>
Fri, 7 Jun 2013 23:29:20 +0000 (19:29 -0400)
committerMaxSem <maxsem.wiki@gmail.com>
Sat, 8 Jun 2013 10:53:45 +0000 (10:53 +0000)
Change-Id: Ia6a394a0dd4fc74c2c2435e48104df367a6b714a

includes/XmlTypeCheck.php

index da2ff46..92ca7d8 100644 (file)
@@ -61,7 +61,7 @@ class XmlTypeCheck {
        /**
         * Alternative constructor: from filename
         *
-        * @param string $input a filename or string containing the XML element
+        * @param string $fname the filename of an XML document
         * @param callable $filterCallback (optional)
         *        Function to call to do additional custom validity checks from the
         *        SAX element handler event. This gives you access to the element
@@ -76,7 +76,7 @@ class XmlTypeCheck {
        /**
         * Alternative constructor: from string
         *
-        * @param string $input a filename or string containing the XML element
+        * @param string $string a string containing an XML element
         * @param callable $filterCallback (optional)
         *        Function to call to do additional custom validity checks from the
         *        SAX element handler event. This gives you access to the element