diff --git a/src/App/Edmo/Cliente.php b/src/App/Edmo/Cliente.php index c351407..d2fd779 100644 --- a/src/App/Edmo/Cliente.php +++ b/src/App/Edmo/Cliente.php @@ -32,8 +32,11 @@ public function getNome() */ public function update(SplSubject $subject) { - print 'O Cliente '.$this->getNome().' recebeu a notificação do produto ' - .$subject->getNome().' por R$ '.$subject->getValor()."\n"; + printf("O Cliente %s recebeu a notificação do produto %s por R$ %s.\n", + $this->getNome(), + $subject->getNome(), + $subject->getValor() + ); } -} \ No newline at end of file +}