Fix return types

Since ::__toString() is documented as alias of ::current(), we use the same return
types. Obviously, this doesn't make sense, though, see <https://bugs.php.net/77024>.

Patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345849 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2018-10-19 13:03:49 +00:00
parent b89090a2b1
commit 3b8a1b9c99

View file

@ -10,7 +10,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>SplFileObject::__toString</methodname>
<modifier>public</modifier> <type>string|array</type><methodname>SplFileObject::__toString</methodname>
<void />
</methodsynopsis>
<simpara>