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
When I'm trying to use Nette\PhpGenerator\PhpFile::fromCode
it loses promoted property of constructor parameters for some reason (e.g __constructor(public ?string $name) {} becomes __constructor(?string $name) {}
I also cannot turn off autoresolving while using this method, so my types use full import: Request $request becomes Illuminate\Http\Request $request
The text was updated successfully, but these errors were encountered:
When I'm trying to use
Nette\PhpGenerator\PhpFile::fromCode
it loses promoted property of constructor parameters for some reason (e.g
__constructor(public ?string $name) {}
becomes__constructor(?string $name) {}
I also cannot turn off autoresolving while using this method, so my types use full import:
Request $request
becomesIlluminate\Http\Request $request
The text was updated successfully, but these errors were encountered: