mirror of
https://codeberg.org/icewind/streams.git
synced 2026-06-03 16:44:07 +02:00
Fix return type of wrap method to resource|false instead of resource|bool
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
dd2d2cec9c
commit
e87431bc4c
6 changed files with 6 additions and 6 deletions
|
|
@ -58,7 +58,7 @@ class CallbackWrapper extends Wrapper {
|
|||
* @param callable|null $close (optional)
|
||||
* @param callable|null $readDir (optional)
|
||||
* @param callable|null $preClose (optional)
|
||||
* @return resource|bool
|
||||
* @return resource|false
|
||||
*
|
||||
*/
|
||||
public static function wrap($source, $read = null, $write = null, $close = null, $readDir = null, $preClose = null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue