Skip to content

Conversation

@gchtr
Copy link
Member

@gchtr gchtr commented May 26, 2023

Related:

Issue

There is an unused property in Timber\Term::build(). The $_options parameter was introduced in 21445a1, where it was still needed. At that time, Timber\Menu still extended Timber\Term. So Timber\Term::build() had to use that optional parameter to be compatible.

Now, Timber\Term only extends Timber\CoreEntity.

Solution

We can safely remove that unused parameter.

Impact

None.

Usage Changes

None.

Considerations

None.

Testing

None needed.

@gchtr gchtr added the 2.0 label May 26, 2023
@gchtr gchtr requested a review from Levdbas May 26, 2023 15:32
@gchtr gchtr requested review from jarednova and nlemoine as code owners May 26, 2023 15:32
@gchtr gchtr mentioned this pull request May 26, 2023
1 task
Copy link
Member

@nlemoine nlemoine left a comment

Choose a reason for hiding this comment

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

Good catch! :)

@Levdbas Levdbas merged commit 258d691 into 2.x May 26, 2023
@gchtr gchtr deleted the 2.x-term-build-params branch September 21, 2023 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants