* 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:
Brandon Kelly
2022-03-30 09:40:10 -07:00
committed by GitHub
parent 4cfdfc011f
commit 4628b91e73
117 changed files with 318 additions and 328 deletions

View File

@ -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.