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

Fix for #5300 - Wrong type hinting for config variable #5330

Closed
wants to merge 1 commit into from

Conversation

shahlin
Copy link

@shahlin shahlin commented Oct 24, 2020

There were 2 occurrences of incorrect type hinting for the variable $config. It was declared as an array while it was being used as an object. These are the 2 occurrences:

* @var array Supplied configuration.

* @return array|stdClass

This PR is an attempt to fix issue #5300

@LukeTowers
Copy link
Contributor

@bennothommo we need to lock the test suite to running composer 1.0 until wikimedia/composer-merge-plugin#189 is merged. Ideally we should probably help test that PR and get it merged in ASAP as composer 2.0 is now out.

bennothommo added a commit that referenced this pull request Oct 25, 2020
Until such a time that `wikimedia/composer-merge-plugin` supports Composer 2.

Refs: #5330 (comment)
bennothommo added a commit to octobercms/library that referenced this pull request Oct 25, 2020
Until such a time that `wikimedia/composer-merge-plugin` supports Composer 2.

Refs: octobercms/october#5330 (comment)
@bennothommo
Copy link
Contributor

@LukeTowers I've updated the test suite for October and Rain library - I'll need to do the same for the RainLab plugins that have tests at some point later today.

@LukeTowers
Copy link
Contributor

Please resubmit if desired, not sure why the tests aren't liking this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants