stan updates
This commit is contained in:
1 parent
3b83acf39c
commit
b9b2ef7c2c
8 files changed
+39
-4
No files matched your search
+9
-1
@@ -37,7 +37,15 @@ class User extends Resource
|
||||
*/
|
||||
public function title(): string
|
||||
{
|
||||
return $this->username.sprintf(' (%s)', $this->phone);
|
||||
return $this->name.sprintf(' (%s)', $this->username);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the search result subtitle for the resource.
|
||||
*/
|
||||
public function subtitle(): string
|
||||
{
|
||||
return $this->phone ?: '-';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user