File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -1574,12 +1574,6 @@ public function enterPropertyHook(
15741574
15751575 $ realParameterTypes = $ this ->getRealParameterTypes ($ hook );
15761576
1577- // preserveConstructorScope must be true: it provides $this and
1578- // PropertyInitializationExpr entries for properties with default values
1579- // (needed to correctly report isset() on always-initialized properties).
1580- // For set hooks, we then invalidate initialization state for all
1581- // properties without a default value, since the hook can run during
1582- // __construct() when any such property might still be uninitialized.
15831577 $ scope = $ this ->enterFunctionLike (
15841578 new PhpMethodFromParserNodeReflection (
15851579 $ this ->getClassReflection (),
You can’t perform that action at this time.
0 commit comments