Skip to content

Commit d879dd4

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: [Serializer][Validator] Update some phpDoc relative to "getters" Update README.md [SecurityBundle] Empty line starting with dash under "access_control" causes all rules to be skipped [Cache] Apply NullAdapter as Null Object
2 parents da2daeb + 4409767 commit d879dd4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Mapping/ClassMetadata.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ public function addPropertyConstraints(string $property, array $constraints)
264264
* Adds a constraint to the getter of the given property.
265265
*
266266
* The name of the getter is assumed to be the name of the property with an
267-
* uppercased first letter and either the prefix "get" or "is".
267+
* uppercased first letter and the prefix "get", "is" or "has".
268268
*
269269
* @return $this
270270
*/

Mapping/GetterMetadata.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* method.
1919
*
2020
* A property getter is any method that is equal to the property's name,
21-
* prefixed with either "get" or "is". That method will be used to access the
21+
* prefixed with "get", "is" or "has". That method will be used to access the
2222
* property's value.
2323
*
2424
* The getter will be invoked by reflection, so the access of private and

0 commit comments

Comments
 (0)