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).

@dg dg force-pushed the v3.3 branch 5 times, most recently from 8ca4248 to 3aa0b3b Compare December 30, 2025 00:43
@dg dg force-pushed the v3.3 branch 6 times, most recently from a35df87 to c0033dc Compare February 10, 2026 02:52
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