We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f6b115 commit 316afc0Copy full SHA for 316afc0
src/AbstractValueObject.php
@@ -43,7 +43,7 @@ public function setTouched(string $attrName): self
43
*/
44
public function isTouched(string $attrName): bool
45
{
46
- return $this->touched[$attrName];
+ return $this->touched[$attrName] ?? false;
47
}
48
49
/**
0 commit comments