Skip to content

Commit

Permalink
don't call parent
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangut committed May 13, 2017
1 parent 3e7c5e8 commit 34b65cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MongoDBRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class MongoDBRepository extends DocumentRepository implements Repository
public function getClassName(): string
{
if ($this->className === null) {
$this->className = ClassUtils::getRealClass(parent::getDocumentName());
$this->className = ClassUtils::getRealClass($this->getDocumentName());
}

return $this->className;
Expand Down

0 comments on commit 34b65cd

Please sign in to comment.