-
Notifications
You must be signed in to change notification settings - Fork 47
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 hook trait usage #523
Comments
Please check the questions above and close if no actions are needed. |
@mvorisek to answer your question - is_object check allow model substitution after loading: https://github.com/atk4/data/pull/361/files#diff-83e9e6704bdede75a707d11294b67376R1035 |
@romaninsh When is it code intended to be reached? This code pattern seems to be used only here. See also my PR atk4/core#187 which solves the hook break detection. |
checked, probably no action is needed |
Fix these once atk4/core#133 is merged:
Regex:
Code to be fixed:
data/src/Model.php
Line 1387 in 42475e2
data/src/Model.php
Line 1611 in 42475e2
data/src/Model.php
Line 1649 in 42475e2
data/src/Model.php
Line 1690 in 42475e2
data/src/Model.php
Line 2112 in 42475e2
The text was updated successfully, but these errors were encountered: