Skip to content

Commit

Permalink
Merge pull request #303 from reliforp/pointer-improvement
Browse files Browse the repository at this point in the history
Add a missing annotation in Pointer::indexedAt()
  • Loading branch information
sj-i authored Nov 12, 2023
2 parents 37d5019 + bffafe3 commit f4b6099
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Lib/Process/Pointer/Pointer.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public function __construct(
) {
}

/** @return self<T> */
public function indexedAt(int $n): Pointer
{
return new Pointer(
Expand Down

0 comments on commit f4b6099

Please sign in to comment.