From 21fb6a70bb58581f45685fe2a1914f57c17f1413 Mon Sep 17 00:00:00 2001 From: Jeroen De Meerleer Date: Mon, 15 Jul 2019 13:40:33 +0200 Subject: [PATCH] Added Swar-4 reader to IOFactory --- src/IOFactory.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/IOFactory.php b/src/IOFactory.php index 78af8c9..c5f97c5 100644 --- a/src/IOFactory.php +++ b/src/IOFactory.php @@ -34,6 +34,7 @@ abstract class IOFactory * @var array */ private static $readers = [ + 'Swar-4' => Readers\Swar4::class, 'Pairtwo-6' => Readers\Pairtwo6::class, 'Pairtwo-5' => Readers\Pairtwo6::class // File structure identical ]; @@ -42,7 +43,7 @@ abstract class IOFactory /** * Creates a reader for $type * - * Compatible types are Pairtwo-5 and Pairtwo-6 + * Compatible types are Swar-4, Pairtwo-5, Pairtwo-6 * * @param string $type * @return ReaderInterface