Permalink
Browse files

fix @nette BC Break in 2.0.2

  • Loading branch information...
1 parent 7e780c6 commit b126969727ca1805ae03ae8af1abc663115d7620 @Vrtak-CZ Vrtak-CZ committed Mar 31, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Nella/NetteAddons/Forms/Controls/TagsInput.php
@@ -345,11 +345,11 @@ public static function validateFloat(TextBase $control)
/**
* Range validator: is a control's value number in specified range?
*
- * @param \Nette\Forms\Controls\TextBase
+ * @param \Nette\Forms\IControl
* @param array min and max value pair
* @return bool
*/
- public static function validateRange(TextBase $control, $range)
+ public static function validateRange(IControl $control, $range)
{
throw new \LogicException(':RANGE validator is not applicable to TagInput.');
}

0 comments on commit b126969

Please sign in to comment.