[Bugfix] PHP Notice: Undefined index: scope_opener

Fixes: #49830
Release: 0.0.7