Skip to content

Make Reference::$model property protected#1180

Merged
mvorisek merged 7 commits intodevelopfrom
no_setdefaults_twice_in_reference
Mar 7, 2024
Merged

Make Reference::$model property protected#1180
mvorisek merged 7 commits intodevelopfrom
no_setdefaults_twice_in_reference

Conversation

@mvorisek
Copy link
Copy Markdown
Member

@mvorisek mvorisek commented Mar 7, 2024

to enforce Reference::createTheirModel() usage

impact should be minimal as using Reference::$model directly is mostly wrong

@mvorisek mvorisek force-pushed the no_setdefaults_twice_in_reference branch from 78a4d99 to 0fe94b9 Compare March 7, 2024 11:08
@mvorisek mvorisek marked this pull request as ready for review March 7, 2024 11:26
@mvorisek mvorisek changed the title Do not set model defaults twice in Reference Make Reference::$model property protected Mar 7, 2024
@mvorisek mvorisek merged commit 5ef70ad into develop Mar 7, 2024
@mvorisek mvorisek deleted the no_setdefaults_twice_in_reference branch March 7, 2024 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant