mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Remove "nom noms" from eat method in Dog class
(thanks salathe) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349392 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
46b3f856ba
commit
84b2eca180
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ abstract class Animal
|
|||
class Dog extends Animal
|
||||
{
|
||||
public function eat(Food $food) {
|
||||
echo $this->name . " nom noms " . get_class($food);
|
||||
echo $this->name . " eats " . get_class($food);
|
||||
}
|
||||
}
|
||||
]]>
|
||||
|
|
Loading…
Reference in a new issue