Permalink
Browse files

fixed CS

  • Loading branch information...
1 parent 6d296c0 commit 6647a397139d0d66d8bdec81bc104cbadf94a00e @fabpot fabpot committed Mar 1, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 Form/PropelTypeGuesser.php
@@ -85,6 +85,7 @@ public function guessType($class, $property)
//check if this is mysql enum
$choices = $column->getValueSet();
$labels = array_map('ucfirst', $choices);
+
return new TypeGuess('choice', array('choices' => array_combine($choices, $labels)), Guess::MEDIUM_CONFIDENCE);
}
case \PropelColumnTypes::VARCHAR:

0 comments on commit 6647a39

Please sign in to comment.