1
0
mirror of synced 2024-12-13 06:46:03 +03:00

phpType() as static method

This commit is contained in:
zYne 2006-09-12 09:07:43 +00:00
parent 3dca74f2d2
commit 92b7f2a03d

View File

@ -230,7 +230,7 @@ class Doctrine_Validator {
* @param $doctrineType * @param $doctrineType
* @return string * @return string
*/ */
public function phpType($doctrineType) { public static function phpType($doctrineType) {
switch($doctrineType) { switch($doctrineType) {
case 'enum': case 'enum':
return 'integer'; return 'integer';