We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3e4a15 commit 2cd4d6eCopy full SHA for 2cd4d6e
src/HTTPFactory.php
@@ -121,6 +121,7 @@ public static function createStreamFromSource(mixed $source = null):StreamInterf
121
122
if($type === 'resource'){
123
// avoid using php://input and copy over the contents to a new stream
124
+ /** @phpstan-ignore-next-line */
125
if((stream_get_meta_data($source)['uri'] ?? '') === 'php://input'){
126
$stream = StreamUtil::tryFopen('php://temp', 'r+');
127
0 commit comments