Skip to content

Commit 72540c9

Browse files
authored
Merge pull request #45 from madflow/fix/return-types-to-doc-blocks
add return types to doc blocks
2 parents b244405 + 7a04329 commit 72540c9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

psalm.xml.dist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0"?>
22
<psalm
3-
totallyTyped="false"
43
errorLevel="3"
54
resolveFromConfigFile="true"
65
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

src/Data.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,8 @@ public function export(): array
203203

204204
/**
205205
* {@inheritdoc}
206+
*
207+
* @return bool
206208
*/
207209
#[\ReturnTypeWillChange]
208210
public function offsetExists($key)
@@ -212,6 +214,8 @@ public function offsetExists($key)
212214

213215
/**
214216
* {@inheritdoc}
217+
*
218+
* @return mixed
215219
*/
216220
#[\ReturnTypeWillChange]
217221
public function offsetGet($key)
@@ -224,6 +228,8 @@ public function offsetGet($key)
224228
*
225229
* @param string $key
226230
* @param mixed $value
231+
*
232+
* @return void
227233
*/
228234
#[\ReturnTypeWillChange]
229235
public function offsetSet($key, $value)
@@ -233,6 +239,8 @@ public function offsetSet($key, $value)
233239

234240
/**
235241
* {@inheritdoc}
242+
*
243+
* @return void
236244
*/
237245
#[\ReturnTypeWillChange]
238246
public function offsetUnset($key)

0 commit comments

Comments
 (0)