mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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
This commit is contained in:
parent
a0f95f396f
commit
7ee0da6a02
1 changed files with 6 additions and 0 deletions
|
@ -334,6 +334,12 @@ Hello World!
|
|||
Traits support the use of abstract methods in order to impose requirements
|
||||
upon the exhibiting class.
|
||||
</para>
|
||||
<caution>
|
||||
<simpara>
|
||||
A concrete class fullfills this requirement by defining a concrete method
|
||||
with the same name; its signature may be different.
|
||||
</simpara>
|
||||
</caution>
|
||||
<example xml:id="language.oop5.traits.abstract.ex1">
|
||||
<title>Express Requirements by Abstract Methods</title>
|
||||
<programlisting role="php">
|
||||
|
|
Loading…
Reference in a new issue