Skip to content

Commit

Permalink
fix: typo, replace fgets with fgetc
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Nov 25, 2023
1 parent 60077a1 commit 6414540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ResourceIteratorAggregate.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function __construct($resource, private bool $closeResource = false, ?Clo
/**
* @param resource $resource
*/
static fn ($resource): bool|string => fgets($resource);
static fn ($resource): bool|string => fgetc($resource);
}

/**
Expand Down

0 comments on commit 6414540

Please sign in to comment.