diff --git a/Doctrine/Validator.php b/Doctrine/Validator.php index c3c1e22ff..e0db4ade2 100644 --- a/Doctrine/Validator.php +++ b/Doctrine/Validator.php @@ -230,7 +230,7 @@ class Doctrine_Validator { * @param $doctrineType * @return string */ - public function phpType($doctrineType) { + public static function phpType($doctrineType) { switch($doctrineType) { case 'enum': return 'integer';