1
0
mirror of https://github.com/danog/file.git synced 2024-11-29 20:09:10 +01:00

Fix readlink phpdoc

This commit is contained in:
Niklas Keller 2017-06-21 14:45:24 +02:00
parent 8b43826073
commit d429dfc2aa

View File

@ -195,10 +195,9 @@ function link(string $original, string $link): Promise {
/**
* Read the symlink at $path.
*
* @param string $original
* @param string $link
* @param string $path
* @fails \Amp\Files\FilesystemException If the operation fails
* @return \Amp\Promise<null>
* @return \Amp\Promise<string>
*/
function readlink(string $path): Promise {
return filesystem()->readlink($path);