Skip to content

Commit

Permalink
Use TKey in ArrayAccess::offsetExists(), offsetGet()
Browse files Browse the repository at this point in the history
  • Loading branch information
isfedorov committed Aug 26, 2024
1 parent 70e5033 commit 3c66fac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/Core_c.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ interface ArrayAccess
/**
* Whether a offset exists
* @link https://php.net/manual/en/arrayaccess.offsetexists.php
* @param mixed $offset <p>
* @param TKey $offset <p>
* An offset to check for.
* </p>
* @return bool true on success or false on failure.
Expand All @@ -128,7 +128,7 @@ public function offsetExists(#[LanguageLevelTypeAware(['8.0' => 'mixed'], defaul
/**
* Offset to retrieve
* @link https://php.net/manual/en/arrayaccess.offsetget.php
* @param mixed $offset <p>
* @param TKey $offset <p>
* The offset to retrieve.
* </p>
* @return TValue Can return all value types.
Expand Down

0 comments on commit 3c66fac

Please sign in to comment.