summaryrefslogtreecommitdiff
path: root/it_pipe.class
diff options
context:
space:
mode:
authorChristian Schneider2021-07-25 14:14:25 +0200
committerChristian Schneider2021-07-25 14:14:25 +0200
commit087155dad0dd309dd3021244a23385635dae2682 (patch)
tree55640af1374c928d48bd72a5e25e17746af201bc /it_pipe.class
parentf4512248dfaee789c24ae7cf506f89b3d81e19e8 (diff)
downloaditools-087155dad0dd309dd3021244a23385635dae2682.tar.gz
itools-087155dad0dd309dd3021244a23385635dae2682.tar.bz2
itools-087155dad0dd309dd3021244a23385635dae2682.zip
Fix PHP 8.1 warnings
Diffstat (limited to 'it_pipe.class')
-rw-r--r--it_pipe.class5
1 files changed, 5 insertions, 0 deletions
diff --git a/it_pipe.class b/it_pipe.class
index 94801c3..0c112d9 100644
--- a/it_pipe.class
+++ b/it_pipe.class
@@ -49,26 +49,31 @@ function __toString()
#
# Internal: Implement iterator
#
+#[ReturnTypeWillChange]
function rewind()
{
$this->_position = 0;
}
+#[ReturnTypeWillChange]
function next()
{
$this->_position++;
}
+#[ReturnTypeWillChange]
function valid()
{
return array_key_exists($this->_position, $this->lines);
}
+#[ReturnTypeWillChange]
function current()
{
return $this->lines[$this->_position];
}
+#[ReturnTypeWillChange]
function key()
{
return $this->_position;