laminas-code icon indicating copy to clipboard operation
laminas-code copied to clipboard

Nullable flag on constructor property promotion, closes #183

Open Grundik opened this issue 1 year ago • 1 comments

Q A
Documentation no
Bugfix yes
BC Break no
New Feature no
RFC no
QA no

Description

See #183 for details.

Grundik avatar May 16 '23 19:05 Grundik

Just to be clear: this is not the fix for https://github.com/Ocramius/ProxyManager/issues/784, there are at leas two different issues:

  • this one, with missing nullable flag (and seems like https://github.com/laminas/laminas-code/issues/182 also could kead to problems);
  • proxy-manager one: these reflections are used in inheritance context there, hence they dont need to redeclare promoted properties at all in that particular situation.

Grundik avatar May 16 '23 23:05 Grundik