From 92b7f2a03dae73204cf80dfbd52d49f0ca6c8922 Mon Sep 17 00:00:00 2001 From: zYne Date: Tue, 12 Sep 2006 09:07:43 +0000 Subject: [PATCH] phpType() as static method --- Doctrine/Validator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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';