Merge pull request #9839 from jeicd/fix-phpdoc

Fix phpdoc [skip ci]
This commit is contained in:
Alexander Makarov
2015-10-05 12:18:47 +03:00
6 changed files with 7 additions and 7 deletions

View File

@@ -92,7 +92,7 @@ class Theme extends Component
}
/**
* @param $url string the base URL or path alias for this theme. All resources of this theme are considered
* @param string $url the base URL or path alias for this theme. All resources of this theme are considered
* to be under this base URL.
*/
public function setBaseUrl($url)

View File

@@ -171,9 +171,9 @@ SQL;
/**
* Sequence name of table
*
* @param $tableName
* @param string $tableName
* @internal param \yii\db\TableSchema $table->name the table schema
* @return string whether the sequence exists
* @return string|null whether the sequence exists
*/
protected function getTableSequenceName($tableName)
{

View File

@@ -113,7 +113,7 @@ class PhpMessageSource extends MessageSource
/**
* Loads the message translation for the specified language and category or returns null if file doesn't exist.
*
* @param $messageFile string path to message file
* @param string $messageFile path to message file
* @return array|null array of messages or null if file not found
*/
protected function loadMessagesFromFile($messageFile)

View File

@@ -195,8 +195,8 @@ interface ManagerInterface
/**
* Returns the assignment information regarding a role and a user.
* @param string|integer $userId the user ID (see [[\yii\web\User::id]])
* @param string $roleName the role name
* @param string|integer $userId the user ID (see [[\yii\web\User::id]])
* @return null|Assignment the assignment information. Null is returned if
* the role is not assigned to the user.
*/

View File

@@ -255,8 +255,8 @@ class ErrorHandler extends \yii\base\ErrorHandler
* @param integer|null $line number on which call has happened.
* @param string|null $class called class name.
* @param string|null $method called function/method name.
* @param integer $index number of the call stack element.
* @param array $args array of method arguments.
* @param integer $index number of the call stack element.
* @return string HTML content of the rendered call stack element.
*/
public function renderCallStackItem($file, $line, $class, $method, $args, $index)

View File

@@ -350,7 +350,7 @@ class Request extends \yii\base\Request
/**
* Sets the raw HTTP request body, this method is mainly used by test scripts to simulate raw HTTP requests.
* @param $rawBody
* @param string $rawBody the request body
*/
public function setRawBody($rawBody)
{