Skip to content

Commit

Permalink
Applying hotfix for #120 - degrades performance, but fixes the mistak…
Browse files Browse the repository at this point in the history
…e for various different possible API calls
  • Loading branch information
Ocramius committed Nov 16, 2013
1 parent 3204ff4 commit 6786130
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ProxyManager/Inflector/ClassNameInflector.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ public function __construct($proxyNamespace)
*/
public function getUserClassName($className)
{
$className = ltrim($className, '\\');

if (false === $position = strrpos($className, $this->proxyMarker)) {
return $className;
}
Expand Down

0 comments on commit 6786130

Please sign in to comment.