Skip to content

Conversation

@kostirez1
Copy link

  • bug fix
  • BC break? no
  • doc PR: not required

Broken since 3.3.0 (added property typehints) due to the code relying on $sessionSection property being nullable and preinitialized to null during creation. Currently failing on Error: Typed property Nette\Http\UserStorage::$sessionSection must not be accessed before initialization when calling getSessionSection()

This commit reverts $sessionSection to the same behavior it had before adding the native typehint.

Branch v3.3 is the only affected one, master and v4.0 no longer contain this deprecated class (removed deprecated stuff).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants