public function speak($word = '') { if (empty($word)) { $word = 'woof'; } return parent::speak($word); }
public function speak($word = '') { if (strlen($word) === 0) { $word = 'meow'; } return parent::speak($word); }