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

API Rename FormField Value to getFormattedValue #1363

Merged

Conversation

emteknetnz
Copy link
Member

*/
public function getFormattedValue()
public function getFormattedValue(): ?DBField
Copy link
Member Author

@emteknetnz emteknetnz Jan 24, 2025

Choose a reason for hiding this comment

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

While this method has the same name as FormField::getFormattedValue, it's a fundamentally different method

Putting strong typing on this is effectively unrelated refactoring

Note that the old docblock return type was wrong

@emteknetnz emteknetnz force-pushed the pulls/7.0/rename-ffv branch from 45794a1 to 6a92ece Compare January 29, 2025 22:44
@emteknetnz emteknetnz marked this pull request as ready for review February 2, 2025 03:47
Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

LGTM

@GuySartorelli GuySartorelli merged commit 36b5b22 into silverstripe:7.0 Feb 12, 2025
12 checks passed
@GuySartorelli GuySartorelli deleted the pulls/7.0/rename-ffv branch February 12, 2025 00:48
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

Successfully merging this pull request may close these issues.

2 participants