Skip to content

Commit

Permalink
Remove unused code block
Browse files Browse the repository at this point in the history
  • Loading branch information
ddeboer committed Sep 1, 2017
1 parent 35cd7cd commit bbee212
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/DoctrineWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,6 @@ protected function updateObject(array $item, $object)
$classifiedFieldName = Inflector::classify($fieldName);
if (isset($item[$fieldName])) {
$value = $item[$fieldName];
} elseif (method_exists($item, 'get' . $classifiedFieldName)) {
$value = $item->{'get' . $classifiedFieldName};
}

if (null === $value) {
Expand Down

0 comments on commit bbee212

Please sign in to comment.