Fixed issue #10

This commit is contained in:
Francis Besset
2011-09-14 22:03:46 +02:00
parent a0a92dd1b4
commit 33d1e4031c
2 changed files with 9 additions and 9 deletions

View File

@ -30,6 +30,11 @@ class Type
public function setPhpType($phpType)
{
$phpType = $phpType;
if ($phpType[0] == '\\') {
$phpType = substr($phpType, 1);
}
$this->phpType = $phpType;
}