1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-22 06:13:57 +02:00

Minor code improvements and housekeeping for various core classes and modules

This commit is contained in:
Ryan Cramer
2022-09-23 11:19:51 -04:00
parent d6d68d8cc0
commit b87566d0b3
39 changed files with 960 additions and 741 deletions

View File

@@ -69,10 +69,11 @@ class Users extends PagesType {
* Get the user by name, ID or selector string
*
* @param string $selectorString
* @return Page|NullPage|null
* @return User|NullPage|null
*
*/
public function get($selectorString) {
/** @var User|NullPage|null $user */
$user = parent::get($selectorString);
return $user;
}