mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
fixed phpdoc type names
This commit is contained in:
@ -133,7 +133,7 @@ class CacheController extends Controller
|
||||
* ```
|
||||
*
|
||||
* @param string $db id connection component
|
||||
* @return int exit code
|
||||
* @return integer exit code
|
||||
* @throws Exception
|
||||
* @throws \yii\base\InvalidConfigException
|
||||
*
|
||||
|
@ -368,7 +368,7 @@ class FixtureController extends Controller
|
||||
/**
|
||||
* Checks if needed to apply all fixtures.
|
||||
* @param string $fixture
|
||||
* @return bool
|
||||
* @return boolean
|
||||
*/
|
||||
public function needToApplyAll($fixture)
|
||||
{
|
||||
|
@ -164,7 +164,7 @@ class HelpController extends Controller
|
||||
/**
|
||||
* Validates if the given class is a valid console controller class.
|
||||
* @param string $controllerClass
|
||||
* @return bool
|
||||
* @return boolean
|
||||
*/
|
||||
protected function validateControllerClass($controllerClass)
|
||||
{
|
||||
|
@ -574,7 +574,7 @@ EOD;
|
||||
* Finds out a line of the first non-char PHP token found
|
||||
*
|
||||
* @param array $tokens
|
||||
* @return int|string
|
||||
* @return integer|string
|
||||
* @since 2.0.1
|
||||
*/
|
||||
protected function getLine($tokens)
|
||||
|
@ -47,7 +47,7 @@ class ServeController extends Controller
|
||||
*
|
||||
* @param string $address address to serve on. Either "host" or "host:port".
|
||||
*
|
||||
* @return int
|
||||
* @return integer
|
||||
*/
|
||||
public function actionIndex($address = 'localhost')
|
||||
{
|
||||
|
Reference in New Issue
Block a user