Skip to content

Commit

Permalink
Fix PhpStan
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed Feb 9, 2021
1 parent 954907d commit b47b9dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Entity/ApiData.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ public function offsetSet($key, $value): void
* Returns a item.
*
* @param mixed $key
* @return mixed
*/
public function offsetGet($key): mixed
public function offsetGet($key)
{
return $this->$key;
}
Expand Down

0 comments on commit b47b9dd

Please sign in to comment.