mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Fix types (#19332)
* Migration::upsert() returns void * Unneeded `@property` tags * Add missing `null` param/return types * Null types for db\Query + db\ActiveQuery * Fixed testSelect
This commit is contained in:
@ -290,7 +290,7 @@ class BaseUrl
|
||||
*
|
||||
* @param string|array $url the URL to remember. Please refer to [[to()]] for acceptable formats.
|
||||
* If this parameter is not specified, the currently requested URL will be used.
|
||||
* @param string $name the name associated with the URL to be remembered. This can be used
|
||||
* @param string|null $name the name associated with the URL to be remembered. This can be used
|
||||
* later by [[previous()]]. If not set, [[\yii\web\User::setReturnUrl()]] will be used with passed URL.
|
||||
* @see previous()
|
||||
* @see \yii\web\User::setReturnUrl()
|
||||
@ -309,7 +309,7 @@ class BaseUrl
|
||||
/**
|
||||
* Returns the URL previously [[remember()|remembered]].
|
||||
*
|
||||
* @param string $name the named associated with the URL that was remembered previously.
|
||||
* @param string|null $name the named associated with the URL that was remembered previously.
|
||||
* If not set, [[\yii\web\User::getReturnUrl()]] will be used to obtain remembered URL.
|
||||
* @return string|null the URL previously remembered. Null is returned if no URL was remembered with the given name
|
||||
* and `$name` is not specified.
|
||||
|
Reference in New Issue
Block a user