Commit 92b7f2a0 authored by zYne's avatar zYne

phpType() as static method

parent 3dca74f2
...@@ -230,7 +230,7 @@ class Doctrine_Validator { ...@@ -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';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment