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

Add missing methods changeXXX to some properties to have a more consistent API accross properties. #342

Merged
merged 2 commits into from Feb 23, 2024

Conversation

ren0v
Copy link
Contributor

@ren0v ren0v commented Feb 5, 2024

Most Pages/Properties classes have a changeXXX method but some properties don't.
This PR add a changeXXX property to the following classes

  • Pages/Properties/Date : changeDate
  • Pages/Properties/MultiSelect : changeOptions
  • Pages/Properties/Status : changeOption (same as Select)

A changeName is also added to the Databases/Properties/StatusOption class as it already exists on the SelectOption class.

…stent API accross properties.

- Date : changeDate
- MultiSelect : changeOptions
- Status : changeOption (same as Select)
- StatusOption : changeName (same as SelectOption)
@ren0v
Copy link
Contributor Author

ren0v commented Feb 20, 2024

@mariosimao hi Mario, i opened 2 PR on the repo.
Let me know if you need more details or corrections to accept those PR.

src/Pages/Properties/MultiSelect.php Outdated Show resolved Hide resolved
Co-authored-by: Mario Simão <mariosimao@poli.ufrj.br>
@mariosimao mariosimao merged commit 85bc1d6 into mariosimao:main Feb 23, 2024
4 of 6 checks passed
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.

None yet

2 participants