From 7cb1c512a97f696377cf5524bd57187e913758ce Mon Sep 17 00:00:00 2001 From: Jeroen De Meerleer Date: Tue, 16 Jul 2019 16:10:53 +0200 Subject: [PATCH] Removed debug output --- src/Readers/Swar4.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Readers/Swar4.php b/src/Readers/Swar4.php index 1d95b58..7318903 100644 --- a/src/Readers/Swar4.php +++ b/src/Readers/Swar4.php @@ -95,7 +95,6 @@ class Swar4 implements ReaderInterface case 'String': case 'Date': $length = $this->readData('Int', $handle); - echo $length . ' '; if ($length == 0) { return ''; } @@ -104,10 +103,8 @@ class Swar4 implements ReaderInterface if ($data == '') { return (is_null($default)) ? '' : $default; } - echo $data . PHP_EOL; return iconv('windows-1252', 'utf-8', $data); } elseif ($type == 'Date') { - echo $data . 'date' . PHP_EOL; if ($data == '') { return (is_null($default)) ? $this->convertStringToDate('01/01/1900') : $default; } @@ -195,7 +192,6 @@ class Swar4 implements ReaderInterface public function convertStringToDate(string $string): \DateTime { - echo $string; return DateTime::createFromFormat('d/m/Y', $string); } }