1
0
mirror of https://github.com/danog/PHP-Parser.git synced 2024-11-30 04:19:30 +01:00

Tweaked a phpdoc description

This commit is contained in:
Graham Campbell 2016-04-09 11:13:49 +01:00 committed by Nikita Popov
parent 954051f240
commit e7f0860d85

View File

@ -58,10 +58,10 @@ abstract class FunctionLike extends Declaration
}
/**
* set the return type for php7
* Sets the return type for PHP 7.
*
* @param string $type support string, int, float, bool, array,
* class names, interface and callable.
* @param string|Node\Name $type One of array, callable, string, int, float, bool,
* or a class/interface name.
*
* @return $this The builder instance (for fluid interface)
*/