X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Flibs%2Fxmp%2FXMP.php;h=c46acc691ce8ae530da509416705af9cd05d7459;hp=e12766a2adcaec7d95cf02f03d6260084fd68a41;hb=a8379682a46a428320c88702c800a6107c015137;hpb=4fad94948359ab67e312355534977138754c123b diff --git a/includes/libs/xmp/XMP.php b/includes/libs/xmp/XMP.php index e12766a2ad..c46acc691c 100644 --- a/includes/libs/xmp/XMP.php +++ b/includes/libs/xmp/XMP.php @@ -131,6 +131,7 @@ class XMPReader implements LoggerAwareInterface { /** * Primary job is to initialize the XMLParser + * @param LoggerInterface|null $logger */ function __construct( LoggerInterface $logger = null ) { if ( !function_exists( 'xml_parser_create_ns' ) ) { @@ -189,6 +190,7 @@ class XMPReader implements LoggerAwareInterface { /** * Check if this instance supports using this class + * @return bool */ public static function isSupported() { return function_exists( 'xml_parser_create_ns' ) && class_exists( 'XMLReader' );