Przeglądaj źródła

Remove unused code from DateTime constraint

Joseph Bielawski 14 lat temu
rodzic
commit
6bb9075b35

+ 0 - 8
src/Symfony/Component/Validator/Constraints/DateTime.php

@@ -14,12 +14,4 @@ namespace Symfony\Component\Validator\Constraints;
 class DateTime extends \Symfony\Component\Validator\Constraint
 {
     public $message = 'This value is not a valid datetime';
-
-    /**
-     * {@inheritDoc}
-     */
-    public function getTargets()
-    {
-        return self::PROPERTY_CONSTRAINT;
-    }
 }