renamed method parameter to better reflect the actual changes.

This commit is contained in:
Abdulmhsen B. A. A
2022-05-22 18:54:29 +03:00
parent 956abb56f9
commit a8e5b813f6
3 changed files with 7 additions and 7 deletions

View File

@@ -218,9 +218,9 @@ final class StateEntity implements iFace
return $rPointers;
}
public function apply(iFace $entity, bool $guidOnly = false): self
public function apply(iFace $entity, bool $metadataOnly = false): self
{
if (true === $guidOnly) {
if (true === $metadataOnly) {
foreach (iFace::ENTITY_FORCE_UPDATE_FIELDS as $key) {
if (true === $this->isEqualValue($key, $entity)) {
continue;