1
0
mirror of https://github.com/danog/file.git synced 2024-11-26 20:04:51 +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. * Read the symlink at $path.
* *
* @param string $original * @param string $path
* @param string $link
* @fails \Amp\Files\FilesystemException If the operation fails * @fails \Amp\Files\FilesystemException If the operation fails
* @return \Amp\Promise<null> * @return \Amp\Promise<string>
*/ */
function readlink(string $path): Promise { function readlink(string $path): Promise {
return filesystem()->readlink($path); return filesystem()->readlink($path);