diff --git a/Mapping/ClassMetadata.php b/Mapping/ClassMetadata.php index 7aa90fe49..7d6dc97b4 100644 --- a/Mapping/ClassMetadata.php +++ b/Mapping/ClassMetadata.php @@ -264,7 +264,7 @@ public function addPropertyConstraints(string $property, array $constraints) * Adds a constraint to the getter of the given property. * * The name of the getter is assumed to be the name of the property with an - * uppercased first letter and either the prefix "get" or "is". + * uppercased first letter and the prefix "get", "is" or "has". * * @return $this */ diff --git a/Mapping/GetterMetadata.php b/Mapping/GetterMetadata.php index c840d975d..0be332934 100644 --- a/Mapping/GetterMetadata.php +++ b/Mapping/GetterMetadata.php @@ -18,7 +18,7 @@ * method. * * A property getter is any method that is equal to the property's name, - * prefixed with either "get" or "is". That method will be used to access the + * prefixed with "get", "is" or "has". That method will be used to access the * property's value. * * The getter will be invoked by reflection, so the access of private and