Skip to content

Commit

Permalink
Annotated return types of offsetGet
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Dec 23, 2023
1 parent 503375e commit 1410ca7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions stubs/WordPress/class-requests-cookie-jar.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public function offsetExists( $key ) {
*
* @return string|null
*/
#[\ReturnTypeWillChange]
public function offsetGet( $key ) {
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public function offsetExists( $key ) {
*
* @return string|null
*/
#[\ReturnTypeWillChange]
public function offsetGet( $key ) {
}

Expand Down
1 change: 1 addition & 0 deletions stubs/WordPress/class-wp-theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public function offsetExists( $offset ) {
*
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet( $offset ) {
}

Expand Down

0 comments on commit 1410ca7

Please sign in to comment.