Skip to content

Commit

Permalink
reverted wrong phpdoc change from #13905
Browse files Browse the repository at this point in the history
  • Loading branch information
cebe committed Apr 3, 2017
1 parent f78ba80 commit 6301dae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion framework/base/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ public function getBehavior($name)

/**
* Returns all behaviors attached to this component.
* @return Behavior[]|null list of behaviors attached to this component
* @return Behavior[] list of behaviors attached to this component
*/
public function getBehaviors()
{
Expand Down
4 changes: 2 additions & 2 deletions framework/base/Module.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ public function setLayoutPath($path)
/**
* Returns current module version.
* If version is not explicitly set, [[defaultVersion()]] method will be used to determine its value.
* @return string|callable the version of this module.
* @return string the version of this module.
* @since 2.0.11
*/
public function getVersion()
Expand Down Expand Up @@ -342,7 +342,7 @@ public function setVersion($version)
/**
* Returns default module version.
* Child class may override this method to provide more specific version detection.
* @return string|callable the version of this module.
* @return string the version of this module.
* @since 2.0.11
*/
protected function defaultVersion()
Expand Down

0 comments on commit 6301dae

Please sign in to comment.