Skip to content

Commit 2cd4d6e

Browse files
committed
🚿 what the fuck phpstan???
1 parent f3e4a15 commit 2cd4d6e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/HTTPFactory.php

+1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ public static function createStreamFromSource(mixed $source = null):StreamInterf
121121

122122
if($type === 'resource'){
123123
// avoid using php://input and copy over the contents to a new stream
124+
/** @phpstan-ignore-next-line */
124125
if((stream_get_meta_data($source)['uri'] ?? '') === 'php://input'){
125126
$stream = StreamUtil::tryFopen('php://temp', 'r+');
126127

0 commit comments

Comments
 (0)