Skip to content

Commit e435847

Browse files
committed
Add missing return types
1 parent 08936e1 commit e435847

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Response/StreamWrapper.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class StreamWrapper
3232
/** @var resource|string|null */
3333
private $content;
3434

35-
/** @var resource|null */
35+
/** @var resource|callable|null */
3636
private $handle;
3737

3838
private bool $blocking = true;
@@ -266,6 +266,9 @@ public function stream_seek(int $offset, int $whence = \SEEK_SET): bool
266266
return false;
267267
}
268268

269+
/**
270+
* @return resource|false
271+
*/
269272
public function stream_cast(int $castAs)
270273
{
271274
if (\STREAM_CAST_FOR_SELECT === $castAs) {

0 commit comments

Comments
 (0)