From 7ee0da6a0250d01f4fd96d3c20d36375137b0b06 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Wed, 28 Nov 2018 12:41:43 +0000 Subject: [PATCH] Fix #75449: Ignored return type for abstract methods, defined in traits git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346114 c90b9560-bf6c-de11-be94-00142212c4b1 --- language/oop5/traits.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/language/oop5/traits.xml b/language/oop5/traits.xml index 2d4b587974..4f9399358d 100644 --- a/language/oop5/traits.xml +++ b/language/oop5/traits.xml @@ -334,6 +334,12 @@ Hello World! Traits support the use of abstract methods in order to impose requirements upon the exhibiting class. + + + A concrete class fullfills this requirement by defining a concrete method + with the same name; its signature may be different. + + Express Requirements by Abstract Methods