Skip to content

Commit

Permalink
Merge pull request #45 from madflow/fix/return-types-to-doc-blocks
Browse files Browse the repository at this point in the history
add return types to doc blocks
  • Loading branch information
colinodell authored Oct 27, 2022
2 parents b244405 + 7a04329 commit 72540c9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 0 additions & 1 deletion psalm.xml.dist
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0"?>
<psalm
totallyTyped="false"
errorLevel="3"
resolveFromConfigFile="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Expand Down
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 72540c9

Please # to comment.