Skip to content

Conversation

@gnito-org
Copy link
Contributor

Q A
Branch? 6.3
Bug fix? no
New feature? yes
Deprecations? no
Tickets
License MIT
Doc PR N/A

@carsonbot
Copy link

Hey!

I think @alamirault has recently worked with this code. Maybe they can help review this?

Cheers!

Carsonbot

$this->options = $options;
}

public function getCallbackUrl(): ?string
Copy link
Member

@nicolas-grekas nicolas-grekas Dec 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we remove all getters? I don't think it's worth exposing them. toArray() works fine for the purpose.
Can you consider this for all your PRs please?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing all the getters is inconsistent with the MessageOptionsInterface.

@nicolas-grekas
Copy link
Member

Thank you @gnito-org.

@nicolas-grekas nicolas-grekas merged commit 4d25e7e into symfony:6.3 May 12, 2023
@fabpot fabpot mentioned this pull request May 13, 2023
@gnito-org gnito-org deleted the messagemedia-options branch May 31, 2023 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants