[Form][MappingRule] Remove unnecessary cast

This commit is contained in:
Thomas Calvet 2019-02-09 11:17:15 +01:00
parent bb54e40ca7
commit fc09c285a6

View File

@ -55,7 +55,7 @@ class MappingRule
*/
public function match($propertyPath)
{
if ($propertyPath === (string) $this->propertyPath) {
if ($propertyPath === $this->propertyPath) {
return $this->getTarget();
}
}