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

fmt producing bad code #19

Closed
bendavies opened this issue Dec 10, 2024 · 2 comments
Closed

fmt producing bad code #19

bendavies opened this issue Dec 10, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@bendavies
Copy link

hi,

fmt on

new CallbackTransformer(static fn (DirectBillWriteOffProjectBillCredit $data): array => [$data->getJournal(), $data->getOffset()]),

is producing the invalid:

new CallbackTransformer(, static fn(DirectBillWriteOffProjectBillCredit $data): array => [
  $data->getJournal(),
  $data->getOffset(),
]),
@azjezz azjezz self-assigned this Dec 10, 2024
@azjezz azjezz added the bug Something isn't working label Dec 10, 2024
@azjezz
Copy link
Member

azjezz commented Dec 10, 2024

Thank you for the report! I actually knew this bug existed, i just could not reproduce it before :D

@azjezz
Copy link
Member

azjezz commented Dec 10, 2024

fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants