com doc/es: Fix #80727 [ES] Mistake in documentation example code: language/oop5/variance.xml
[email protected] (Julio Napurí Carlos) Sat, 20 Mar 2021 02:01:26 +0000
| Newsgroups | php.doc.es |
|---|---|
| Message-ID | <[email protected]> |
Commit: 03e620182a96588b24de0f163d5daa56b8b04151 Author: Julio Napurí <[email protected]> Fri, 19 Mar 2021 21:01:26 -0500 Parents: 56e31fc2d675eb17924a0621ce16befac73e3102 Branches: master Link: http://git.php.net/?p=doc/es.git;a=commitdiff;h=03e620182a96588b24de0f163d5daa56b8b04151 Log: Fix #80727 [ES] Mistake in documentation example code Bugs: https://bugs.php.net/80727 Changed paths: M language/oop5/variance.xml Diff: diff --git a/language/oop5/variance.xml b/language/oop5/variance.xml index adbadf4119..20a6a3562f 100644 --- a/language/oop5/variance.xml +++ b/language/oop5/variance.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 84b2eca1809fb0b2a7315cefb8810ca96fbeebb6 Maintainer: andresdzphp Status: ready --> +<!-- EN-Revision: 871df69f47f578c79cad7889f7e27d4b737baf4d Maintainer: andresdzphp Status: ready --> <!-- Reviewed: no Maintainer: andresdzphp --> <sect1 xml:id="language.oop5.variance" xmlns="http://docbook.org/ns/docbook"> <title>Covarianza y Contravarianza</title> @@ -140,7 +140,7 @@ abstract class Animal $this->name = $name; } - public function eat(Food $food) + public function eat(AnimalFood $food) { echo $this->name . " eats " . get_class($food); }