Skip to content

Commit

Permalink
minor #30064 [Form][MappingRule] Remove unnecessary cast (fancyweb)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.4 branch.

Discussion
----------

[Form][MappingRule] Remove unnecessary cast

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Commits
-------

fc09c28 [Form][MappingRule] Remove unnecessary cast
  • Loading branch information
xabbuh committed Feb 11, 2019
2 parents bb54e40 + fc09c28 commit ace651e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -55,7 +55,7 @@ public function getOrigin()
*/
public function match($propertyPath)
{
if ($propertyPath === (string) $this->propertyPath) {
if ($propertyPath === $this->propertyPath) {
return $this->getTarget();
}
}
Expand Down

0 comments on commit ace651e

Please sign in to comment.