Skip to content

Commit

Permalink
deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
k.damyanov committed Apr 7, 2017
1 parent 91da558 commit a49663d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/TranslationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -349,14 +349,6 @@ public function guessMissingFieldOptions($guesser, $class, $property, $options)
$options['field_type'] = $typeGuess->getType();
}

if (!isset($options['pattern']) && ($patternGuess = $guesser->guessPattern($class, $property))) {
$options['pattern'] = $patternGuess->getValue();
}

// if (!isset($options['max_length']) && ($maxLengthGuess = $guesser->guessMaxLength($class, $property))) {
// $options['max_length'] = $maxLengthGuess->getValue();
// }

return $options;
}
}

0 comments on commit a49663d

Please sign in to comment.