Skip to content

Commit

Permalink
Correct type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
wpscholar committed Aug 10, 2022
1 parent f90b103 commit cd01885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ public function rewind(): void {
*
* @return bool True on success or false on failure.
*/
public function offsetExists( mixed $offset ): mixed {
public function offsetExists( mixed $offset ): bool {
return $this->has( $offset );
}

Expand Down

0 comments on commit cd01885

Please sign in to comment.