Skip to content

Commit

Permalink
Update SyncService.php
Browse files Browse the repository at this point in the history
Incorrect variable causing exception
  • Loading branch information
bvisonl authored Jul 19, 2018
1 parent 2a90752 commit f639ce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Service/SyncService.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function getFromMappings($mappings) {
/** @var SyncRepositoryInterface $repository */
$repository = $this->em->getRepository($syncMapping->getClass());
if(!($repository instanceof SyncRepositoryInterface)) {
error_log("The repository for the class {$mapping->getClass()} does not implement the SyncRepositoryInterface.");
error_log("The repository for the class {$syncMapping->getClass()} does not implement the SyncRepositoryInterface.");
continue;
}

Expand Down

0 comments on commit f639ce1

Please sign in to comment.