Skip to content

Model only properties should be settable only from non-entity#940

Merged
mvorisek merged 2 commits intodevelopfrom
no_set_of_model_fields_on_entity
Dec 3, 2021
Merged

Model only properties should be settable only from non-entity#940
mvorisek merged 2 commits intodevelopfrom
no_set_of_model_fields_on_entity

Conversation

@mvorisek
Copy link
Copy Markdown
Member

@mvorisek mvorisek commented Dec 3, 2021

No description provided.

}

public function getReference(Model $entity = null): ?Reference
public function getReference(): ?Reference
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reference is model only, accepting entity was non-sense

@mvorisek mvorisek added the RTM label Dec 3, 2021
@mvorisek mvorisek force-pushed the no_set_of_model_fields_on_entity branch from 8855c9f to db6b8c2 Compare December 3, 2021 23:27
@mvorisek mvorisek merged commit fabcdcb into develop Dec 3, 2021
@mvorisek mvorisek deleted the no_set_of_model_fields_on_entity branch December 3, 2021 23:28
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