mirror of
https://github.com/danog/file.git
synced 2024-11-30 04:19:39 +01:00
Fix return type docs for open
This commit is contained in:
parent
19d28484e8
commit
0577bf7f63
@ -40,7 +40,7 @@ function driver() {
|
|||||||
*
|
*
|
||||||
* @param string $path
|
* @param string $path
|
||||||
* @param string $mode
|
* @param string $mode
|
||||||
* @return \Amp\File\Handle
|
* @return \Amp\Promise<\Amp\File\Handle>
|
||||||
*/
|
*/
|
||||||
function open($path, $mode) {
|
function open($path, $mode) {
|
||||||
return filesystem()->open($path, $mode);
|
return filesystem()->open($path, $mode);
|
||||||
|
Loading…
Reference in New Issue
Block a user