Fixed some comment issues (#13392) [skip ci]

This commit is contained in:
Hao
2017-01-16 02:39:12 +08:00
committed by Alexander Makarov
parent 21eff20fcf
commit 652d05f0b8
2 changed files with 2 additions and 4 deletions

View File

@ -390,7 +390,7 @@ class Component extends Object
* *
* @param string $name the property name * @param string $name the property name
* @param bool $checkBehaviors whether to treat behaviors' methods as methods of this component * @param bool $checkBehaviors whether to treat behaviors' methods as methods of this component
* @return bool whether the property is defined * @return bool whether the method is defined
*/ */
public function hasMethod($name, $checkBehaviors = true) public function hasMethod($name, $checkBehaviors = true)
{ {

View File

@ -356,9 +356,7 @@ class Module extends ServiceLocator
* Defines path aliases. * Defines path aliases.
* This method calls [[Yii::setAlias()]] to register the path aliases. * This method calls [[Yii::setAlias()]] to register the path aliases.
* This method is provided so that you can define path aliases when configuring a module. * This method is provided so that you can define path aliases when configuring a module.
* @property array list of path aliases to be defined. The array keys are alias names *
* (must start with `@`) and the array values are the corresponding paths or aliases.
* See [[setAliases()]] for an example.
* @param array $aliases list of path aliases to be defined. The array keys are alias names * @param array $aliases list of path aliases to be defined. The array keys are alias names
* (must start with `@`) and the array values are the corresponding paths or aliases. * (must start with `@`) and the array values are the corresponding paths or aliases.
* For example, * For example,