Skip to content

Commit

Permalink
Correct typehint, closes #45 (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Nov 26, 2019
1 parent 739db64 commit 3e42dcd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SessionStore.php
Expand Up @@ -8,7 +8,7 @@ class SessionStore {
protected $session;
/** @var SessionStore[] */
protected $stores;
/** @var string[] */
/** @var array */
protected $data;
/** @var SessionStore */
protected $parentStore;
Expand All @@ -22,6 +22,7 @@ public function __construct(
$this->session = $session;
$this->parentStore = $parentStore;
$this->stores = [];
$this->data = [];
}

public function setData(string $key, $value):void {
Expand Down

0 comments on commit 3e42dcd

Please sign in to comment.