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

Drop duplicate class declaration #426

Merged
merged 1 commit into from
Sep 18, 2020
Merged

Conversation

bastelfreak
Copy link
Member

The contain not only enforces the ordering, it also adds it to the
catalog. We don't need to call the class explicitly in advance.

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

The `contain` not only enforces the ordering, it also adds it to the
catalog. We don't need to call the class explicitly in advance.
@bastelfreak bastelfreak self-assigned this Sep 18, 2020
Copy link
Contributor

@igalic igalic left a comment

Choose a reason for hiding this comment

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

wow that's so weird i've never seen something like this … "style" before

@bastelfreak bastelfreak merged commit 6bab390 into voxpupuli:master Sep 18, 2020
@bastelfreak bastelfreak deleted the cleanup branch September 18, 2020 09:24
@ekohl
Copy link
Member

ekohl commented Sep 18, 2020

wow that's so weird i've never seen something like this … "style" before

It's a valid style and if you need to pass in parameters while also containing it, this is the only way.

However, in this case it's redundant.

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.

3 participants