yiisoft/yii — pull request #1780 by antonCPU (2012-11-29 21:09:41+00:00)
Title: Refactored CTypeValidator for issue #217

Only this test hasn't passed, but should it be "true" when 42 definitely not a float value?

```php
$validator=new CTypeValidator();
$validator->type='float';
$this->assertTrue($validator->validateValue(42));
```