vscode-phpactor icon indicating copy to clipboard operation
vscode-phpactor copied to clipboard

Implement contracts should work for anonymous classes

Open BladeMF opened this issue 4 years ago • 2 comments

The code

$a = new class implements TokenCollector {
};

should produce this: image

Currently it does not offer any actions.

BladeMF avatar Dec 16 '20 09:12 BladeMF

Anonymouse classes are not supported currently

On 16/12/2020 10:58 Vladislav Kosev <[email protected]> wrote:




The code

$a = new class implements TokenCollector {
};

should produce this:
[image] https://user-images.githubusercontent.com/12109622/102333182-bab47e00-3f95-11eb-85ea-504ffa58bd58.png

Currently it does not offer any actions.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/phpactor/vscode-phpactor/issues/17 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEBS4IXJTMA77IA34RGXODSVCAD7ANCNFSM4U5WTCZA .

dantleech avatar Dec 16 '20 10:12 dantleech

Oh, okay.

BladeMF avatar Dec 16 '20 10:12 BladeMF