diff --git a/php7/fixtures/texttest_fixture.php b/php7/fixtures/texttest_fixture.php index a5676658..049bc593 100644 --- a/php7/fixtures/texttest_fixture.php +++ b/php7/fixtures/texttest_fixture.php @@ -29,7 +29,7 @@ if (count($argv) > 1) { for ($i = 0; $i < $days; $i++) { echo("-------- day $i --------\n"); - echo("name, sellIn, quality\n"); + echo("name\tsellIn\tquality\n"); foreach ($items as $item) { echo $item . PHP_EOL; } diff --git a/php7/src/Item.php b/php7/src/Item.php index 83d7c3c1..05446651 100644 --- a/php7/src/Item.php +++ b/php7/src/Item.php @@ -49,6 +49,6 @@ final class Item */ public function __toString() { - return "{$this->name}, {$this->sell_in}, {$this->quality}"; + return "{$this->name}\t{$this->sell_in}\t{$this->quality}"; } }