| Author | Dave Jarvis <email> |
|---|---|
| Date | 2026-02-21 17:19:41 GMT-0800 |
| Commit | 86f65d7ec215fba639b07aec0a6e3a7eef3b39d6 |
| Parent | 28158da |
| if( is_resource( $handle ) ) { | ||
| - $computed = $action( $handle ); | ||
| + $computed = $action( BufferedReader::wrap( $handle ) ); | ||
| fclose( $handle ); | ||
| if( is_resource( $handle ) ) { | ||
| try { | ||
| - $resultGenerator = $action( $handle ); | ||
| + $resultGenerator = $action( BufferedReader::wrap( $handle ) ); | ||
| if( $resultGenerator instanceof Generator ) { | ||
| Delta | 2 lines added, 2 lines removed |
|---|