Skip to content

Commit

Permalink
remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
floriansemm committed Dec 21, 2016
1 parent ce246b8 commit 6752ab8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Solr.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,6 @@ public function getQueryBuilder($entity)
public function getRepository($entityAlias)
{
$metaInformation = $this->metaInformationFactory->loadInformation($entityAlias);
$class = $metaInformation->getClassName();

$entity = new $class;

$repositoryClass = $metaInformation->getRepository();
if (class_exists($repositoryClass)) {
Expand Down

0 comments on commit 6752ab8

Please sign in to comment.