Skip to content

Commit 0b3cce7

Browse files
committed
docs: improve comment clarity
1 parent bf4747f commit 0b3cce7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Infrastructure/Repository/TimestampRepository.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ public function created(DegreeProgramId $id): ?DateTimeInterface
2020
}
2121

2222
/**
23-
* The custom field is updated even if related settings or terms are updated.
24-
* If the custom field is missing, we can use the native
25-
* WordPress "post modified" property as a fallback.
23+
* The custom field is updated when the degree program or related settings or terms are updated.
24+
* If the custom field does not exist,
25+
* we fall back to the core WordPress "post modified" property.
2626
*/
2727
public function modified(DegreeProgramId $id): ?DateTimeInterface
2828
{

0 commit comments

Comments
 (0)