various code style and whitespace adjustments

This commit is contained in:
Carsten Brandt
2015-08-02 00:27:19 +02:00
parent 8b951796ac
commit 6d9fe671de
27 changed files with 42 additions and 37 deletions

View File

@ -122,7 +122,7 @@ class FileValidator extends Validator
* - {mimeTypes}: the value of [[mimeTypes]]
*/
public $wrongMimeType;
/**
* @inheritdoc

View File

@ -12,12 +12,12 @@ namespace yii\validators;
*
* This class is required because of the way in which Yii determines whether a property is safe for massive assignment, that is,
* when a user submits form data to be loaded into a model directly from the POST data, is it ok for a property to be copied.
* In many cases, this is required but because sometimes properties are internal and you do not want the POST data to be able to
* In many cases, this is required but because sometimes properties are internal and you do not want the POST data to be able to
* override these internal values (especially things like database row ids), Yii assumes all values are unsafe for massive assignment
* unless a rule exists for the property, which in most cases it will. Sometimes, however, an item is safe for massive assigment but
* does not have a rule associated with it - for instance, due to no validation being performed, in which case, you use this class
* as a rule for that property. Although it has no functionality, it allows Yii to determine that the property is safe to copy.
*
*
* @author Qiang Xue <qiang.xue@gmail.com>
* @since 2.0
*/