Skip to content

Commit 391d6d0

Browse files
[4.4] Add missing @return annotations
1 parent bf72df1 commit 391d6d0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Cloner/Data.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,16 +155,25 @@ public function offsetExists($key)
155155
return $this->__isset($key);
156156
}
157157

158+
/**
159+
* @return mixed
160+
*/
158161
public function offsetGet($key)
159162
{
160163
return $this->__get($key);
161164
}
162165

166+
/**
167+
* @return void
168+
*/
163169
public function offsetSet($key, $value)
164170
{
165171
throw new \BadMethodCallException(self::class.' objects are immutable.');
166172
}
167173

174+
/**
175+
* @return void
176+
*/
168177
public function offsetUnset($key)
169178
{
170179
throw new \BadMethodCallException(self::class.' objects are immutable.');

0 commit comments

Comments
 (0)