Skip to content

Commit

Permalink
Removed backslash from classes mapped with it for sake of normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
nilportugues committed Aug 15, 2015
1 parent aecbe19 commit 4e56e55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mapping/Mapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public function __construct(array &$mappings = null)
);
}

$this->classMap[$mapping->getClassName()] = $mapping;
$this->aliasMap[$mapping->getClassAlias()] = $mapping->getClassName();
$this->classMap[ltrim($mapping->getClassName(), "\\")] = $mapping;
$this->aliasMap[ltrim($mapping->getClassAlias(), "\\")] = $mapping->getClassName();
}
}
}
Expand Down

0 comments on commit 4e56e55

Please sign in to comment.