mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-10 02:13:17 +08:00
Must be one method to get _GET. getGet() is just duplication
This commit is contained in:
@ -311,15 +311,6 @@ class Request extends \yii\base\Request
|
||||
return isset($_GET[$name]) ? $_GET[$name] : $defaultValue;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the GET request parameter values.
|
||||
* @return array the GET request parameter values
|
||||
*/
|
||||
public function getGet()
|
||||
{
|
||||
return $_GET;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the named POST parameter value.
|
||||
* If the POST parameter does not exist, the second parameter to this method will be returned.
|
||||
|
||||
Reference in New Issue
Block a user