Correction of the annotations

This commit is contained in:
Marcos Teodoro 2019-11-25 16:14:50 -03:00
parent f8d14d3f05
commit 4beb8c67ab

View File

@ -52,6 +52,13 @@ class ReaderFactory
return self::createFromType($extension);
}
/**
* This returns the mapped file
*
* @param string $fileExtension File extension of file to read
* @throws \Box\Spout\Common\Exception\UnsupportedTypeException
* @return string
*/
public static function getMappedFormats(string $fileExtension)
{
if (!(array_key_exists($fileExtension, self::MAPPED_EXTENSIONS))) {
@ -65,7 +72,6 @@ class ReaderFactory
* This creates an instance of the appropriate reader, given the type of the file to be read
*
* @param string $readerType Type of the reader to instantiate
* @throws \Box\Spout\Common\Exception\UnsupportedTypeException
* @return ReaderInterface
*/
public static function createFromType($readerType)