*
* @return string|null Depending on data being buffered
*/
- private function _readline()
+ private function _readline(): ?string
{
$buffer = & $this->buffer;
while (true) {
* @see Iterator::next()
* @return void
*/
+ #[\ReturnTypeWillChange]
public function next()
{
++$this->key;
* @see Iterator::rewind()
* @return void
*/
+ #[\ReturnTypeWillChange]
public function rewind()
{
if ($this->filesize > 0) {