Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to omit New without parentheses in duster from 8.4 #170

Open
anuzpandey opened this issue Jan 12, 2025 · 1 comment
Open

How to omit New without parentheses in duster from 8.4 #170

anuzpandey opened this issue Jan 12, 2025 · 1 comment

Comments

@anuzpandey
Copy link

Previously,

(new SendCustomerCreatedNotification())->handle($user);

Now with php8.4 I can use

new SendCustomerCreatedNotification()->handle($user);

But with this I get syntax error:
Parse error: syntax error, unexpected token "->" on line 82.

Is there any way to configure this?

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@anuzpandey and others