Skip to content

Commit

Permalink
Merge bd722fc into bee9ded
Browse files Browse the repository at this point in the history
  • Loading branch information
norkunas committed Jan 3, 2017
2 parents bee9ded + bd722fc commit a69e145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mapping/MetadataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public function getMapping($namespace)
$namespace = $this->getClassName($namespace);
$this->enableCache && $mapping = $this->cache->fetch($cacheName);

if (isset($mapping)) {
if (isset($mapping) && $mapping) {
return $mapping;
}

Expand Down

0 comments on commit a69e145

Please sign in to comment.