phpType() as static method
This commit is contained in:
parent
3dca74f2d2
commit
92b7f2a03d
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Reference in a new issue