Skip to content

Commit

Permalink
add return types to doc blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
madflow authored Oct 25, 2022
1 parent b244405 commit e14b82c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ public function export(): array

/**
* {@inheritdoc}
*
* @return bool
*/
#[\ReturnTypeWillChange]
public function offsetExists($key)
Expand All @@ -212,6 +214,8 @@ public function offsetExists($key)

/**
* {@inheritdoc}
*
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($key)
Expand All @@ -224,6 +228,8 @@ public function offsetGet($key)
*
* @param string $key
* @param mixed $value
*
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetSet($key, $value)
Expand All @@ -233,6 +239,8 @@ public function offsetSet($key, $value)

/**
* {@inheritdoc}
*
* @return void
*/
#[\ReturnTypeWillChange]
public function offsetUnset($key)
Expand Down

0 comments on commit e14b82c

Please sign in to comment.