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

Bug fix on process callback #99

Merged
merged 3 commits into from
Jul 8, 2021
Merged

Conversation

LTSCommerce
Copy link
Contributor

The process callback property is can be accessed before intialisation which causes a fatal error

This PR fixes that. It is also much better typed by using a Closure instead of mixed, and it sets the property as nullable with null as default.

Finally I changed the no -op function to a short syntax just because its a lot nicer :)

joseph added 2 commits July 8, 2021 10:02
…setting up property as Closure and then creating Closure from callable in the setter. Using short function syntax for the no-op function placeholder
@overtrue
Copy link
Owner

overtrue commented Jul 8, 2021

Thanks, please resolve the conflicts.

@LTSCommerce
Copy link
Contributor Author

done

@overtrue overtrue merged commit 0bbdef4 into overtrue:8.0 Jul 8, 2021
@overtrue
Copy link
Owner

overtrue commented Jul 8, 2021

Thanks.

@LTSCommerce
Copy link
Contributor Author

np thanks for quick merge :)

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