X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Flibs%2Fmime%2FXmlTypeCheck.php;h=ea7f9a6ca7570f10a2046cd913d835254a9960dd;hp=e48cf62346574275b4b135e9ddd4ea14005564ad;hb=5544cef16b6fdf1a69230ba02cfa4417f18e7cf2;hpb=b170b4a14a94fb509c4b15ca4c5717c6976a32cc diff --git a/includes/libs/mime/XmlTypeCheck.php b/includes/libs/mime/XmlTypeCheck.php index e48cf62346..ea7f9a6ca7 100644 --- a/includes/libs/mime/XmlTypeCheck.php +++ b/includes/libs/mime/XmlTypeCheck.php @@ -275,7 +275,7 @@ class XmlTypeCheck { /** * Get all of the attributes for an XMLReader's current node - * @param $r XMLReader + * @param XMLReader $r * @return array of attributes */ private function getAttributesArray( XMLReader $r ) { @@ -293,8 +293,8 @@ class XmlTypeCheck { } /** - * @param $name element or attribute name, maybe with a full or short prefix - * @param $namespaceURI the namespaceURI + * @param string $name element or attribute name, maybe with a full or short prefix + * @param string $namespaceURI the namespaceURI * @return string the name prefixed with namespaceURI */ private function expandNS( $name, $namespaceURI ) { @@ -307,8 +307,8 @@ class XmlTypeCheck { } /** - * @param $name - * @param $attribs + * @param string $name + * @param string $attribs */ private function elementOpen( $name, $attribs ) { $this->elementDataContext[] = [ $name, $attribs ]; @@ -338,7 +338,7 @@ class XmlTypeCheck { } /** - * @param $data + * @param string $data */ private function elementData( $data ) { // Collect any data here, and we'll run the callback in elementClose @@ -346,8 +346,8 @@ class XmlTypeCheck { } /** - * @param $target - * @param $data + * @param string $target + * @param string $data */ private function processingInstructionHandler( $target, $data ) { $callbackReturn = false; @@ -452,7 +452,7 @@ class XmlTypeCheck { * * If there is an error parsing the dtd, sets wellFormed to false. * - * @param $dtd string + * @param string $dtd * @return array Possibly containing keys publicid, systemid, type and internal. */ private function parseDTD( $dtd ) {