Permalink
Browse files

Missed some comma-delimited echo lines

  • Loading branch information...
1 parent 4fed9f3 commit cde08ea8ed6dc2615a74fbcfe82c1ad185b60324 @omnomicon omnomicon committed Jun 27, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 examples/example1/Welcomer.php
  2. +1 −1 examples/example1/example1.php
View
2 examples/example1/Welcomer.php
@@ -29,6 +29,6 @@ class Welcomer implements \Tracks\EventHandler\IEventHandler
public function execute(\Tracks\Event\Base $event)
{
- echo "Welcome aboard, {$event->name}!\n";
+ echo 'Welcome aboard, '.$event->name.'!'.PHP_EOL;
}
}
View
2 examples/example1/example1.php
@@ -44,5 +44,5 @@
echo PHP_EOL.$employer->name.PHP_EOL;
foreach ($employer->employees as $employee) {
- echo " - {$employee->name}, {$employee->position->title}\n";
+ echo ' - '.$employee->name.', '.$employee->position->title.PHP_EOL;
}

0 comments on commit cde08ea

Please sign in to comment.