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

Use class namespace when adding CrudTrait to model #184

Merged
merged 3 commits into from
Mar 3, 2023
Merged

Conversation

pxpm
Copy link
Contributor

@pxpm pxpm commented Mar 1, 2023

WHY

BEFORE - What was wrong? What was happening before this PR?

Last fix I did relied on the first class ;.
That would broke in case developer used declare(strict_types=1); at the top of the file.

AFTER - What is happening after this PR?

It does not break anymore.

HOW

How did you achieve that, in technical terms?

Use the namespace definition as the placeholder to add the crud trait.

Is it a breaking change or non-breaking change?

No

@pxpm pxpm self-assigned this Mar 1, 2023
@pxpm pxpm merged commit 5f2675c into main Mar 3, 2023
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.

2 participants