Skip to content

Commit a9ab886

Browse files
committed
[Form][MappingRule] Remove unnecessary cast
1 parent 547e54e commit a9ab886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/Validator/ViolationMapper/MappingRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function getOrigin()
5555
*/
5656
public function match($propertyPath)
5757
{
58-
if ($propertyPath === (string) $this->propertyPath) {
58+
if ($propertyPath === $this->propertyPath) {
5959
return $this->getTarget();
6060
}
6161
}

0 commit comments

Comments
 (0)