@@ -15,6 +15,7 @@ interface BufferInterface extends \SeekableIterator
15
15
* Rewind the BufferInterface to the target token element.
16
16
*
17
17
* @link https://php.net/manual/en/seekableiterator.seek.php
18
+ *
18
19
* @see \SeekableIterator::seek()
19
20
*
20
21
* @param int<0, max> $offset
@@ -25,6 +26,7 @@ public function seek($offset): void;
25
26
* Return the current token.
26
27
*
27
28
* @link https://php.net/manual/en/iterator.current.php
29
+ *
28
30
* @see \Iterator::current()
29
31
*/
30
32
public function current (): TokenInterface ;
@@ -33,6 +35,7 @@ public function current(): TokenInterface;
33
35
* Return the ordinal id of the current token element.
34
36
*
35
37
* @link https://php.net/manual/en/iterator.key.php
38
+ *
36
39
* @see \Iterator::key()
37
40
*
38
41
* @return int<0, max>
@@ -43,6 +46,7 @@ public function key(): int;
43
46
* Checks if current position is valid and iterator not completed.
44
47
*
45
48
* @link https://php.net/manual/en/iterator.valid.php
49
+ *
46
50
* @see \Iterator::valid()
47
51
*/
48
52
public function valid (): bool ;
@@ -51,6 +55,7 @@ public function valid(): bool;
51
55
* Rewind the BufferInterface to the first token element.
52
56
*
53
57
* @link https://php.net/manual/en/iterator.rewind.php
58
+ *
54
59
* @see \Iterator::rewind()
55
60
*/
56
61
public function rewind (): void ;
@@ -59,6 +64,7 @@ public function rewind(): void;
59
64
* Move forward to next token element.
60
65
*
61
66
* @link https://php.net/manual/en/iterator.next.php
67
+ *
62
68
* @see \Iterator::next()
63
69
*/
64
70
public function next (): void ;
0 commit comments