File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11parameters :
22 rememberPossiblyImpureFunctionValues : false
3+ checkMissingOverrideMethodAttribute : true
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ final public function __construct(
1818 $ this ->setLocation ($ location );
1919 }
2020
21+ #[\Override]
2122 final public function isOutputable () : bool
2223 {
2324 return true ;
Original file line number Diff line number Diff line change @@ -45,23 +45,27 @@ public function __construct(
4545 {
4646 }
4747
48+ #[\Override]
4849 public function current () : Token
4950 {
5051 return $ this ->token
5152 ?? throw new \LogicException ('Iterator not initialized ' );
5253 }
5354
55+ #[\Override]
5456 public function key () : int
5557 {
5658 return $ this ->tokenStartIndex
5759 ?? throw new \LogicException ('Iterator not initialized ' );
5860 }
5961
62+ #[\Override]
6063 public function next () : void
6164 {
6265 $ this ->loadToken ();
6366 }
6467
68+ #[\Override]
6569 public function valid () : bool
6670 {
6771 if (!$ this ->token instanceof Token || !\is_int ($ this ->tokenStartIndex )) {
@@ -77,6 +81,7 @@ public function valid() : bool
7781 return true ;
7882 }
7983
84+ #[\Override]
8085 public function rewind () : void
8186 {
8287 $ this ->source ->rewind ();
You can’t perform that action at this time.
0 commit comments