markhuot / craft-pest

https://craft-pest.com
Other
38 stars 11 forks source link

Fix support for fluent-based configs #96

Closed bencroker closed 1 year ago

bencroker commented 1 year ago

This PR fixes support for fluent-based configs as per https://github.com/markhuot/craft-pest/issues/81#issuecomment-1486182316 and https://github.com/markhuot/craft-pest/issues/70#issuecomment-1366176693.

It reverts the change made in https://github.com/markhuot/craft-pest/pull/73/commits/602eeb62fee800f049b1be07845232071efc0607 which does not work because the method’s return type was set back to array to conform with inheritance rules.

markhuot commented 1 year ago

Thanks!