You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Sun, Sep 13, 2020, 15:00 Ye Wenbin ***@***.***> wrote:
Bug Report
Q A
Version(s) 3.4.1 Summary
class Foo
{
public static function test() {
return static::class;
}
}
$class = \Laminas\Code\Generator\ClassGenerator::fromReflection(
new \Laminas\Code\Reflection\ClassReflection(Foo::class));echo $class->generate();
The test method body was not extract successfully.
Current behavior
Output code is :
class Foo
{
public static function test()
{
return
}
}
How to reproduce Expected behavior
class Foo
{
public static function test()
{
return static:class;
}
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#44>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABFVEA6FTPMZ422OSJOXQLSFS66NANCNFSM4RKUXWOA>
.
Bug Report
Summary
The
test
method body was not extract successfully.Current behavior
Output code is :
How to reproduce
Expected behavior
The text was updated successfully, but these errors were encountered: