We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
fgets
fgetc
1 parent 60077a1 commit 6414540Copy full SHA for 6414540
src/ResourceIteratorAggregate.php
@@ -44,7 +44,7 @@ public function __construct($resource, private bool $closeResource = false, ?Clo
44
/**
45
* @param resource $resource
46
*/
47
- static fn ($resource): bool|string => fgets($resource);
+ static fn ($resource): bool|string => fgetc($resource);
48
}
49
50
0 commit comments