Skip to content

Commit 316afc0

Browse files
author
František Mazura
committed
bug fixes
1 parent 8f6b115 commit 316afc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AbstractValueObject.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function setTouched(string $attrName): self
4343
*/
4444
public function isTouched(string $attrName): bool
4545
{
46-
return $this->touched[$attrName];
46+
return $this->touched[$attrName] ?? false;
4747
}
4848

4949
/**

0 commit comments

Comments
 (0)