mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
rename getter
This commit is contained in:
parent
c694efe786
commit
29f53112c0
2 changed files with 4 additions and 4 deletions
|
|
@ -98,7 +98,7 @@ class Auth
|
|||
return null;
|
||||
}
|
||||
|
||||
public function match(
|
||||
public function like(
|
||||
string $request = '',
|
||||
int $limit = 1000,
|
||||
int $start = 0
|
||||
|
|
@ -130,7 +130,7 @@ class Auth
|
|||
{
|
||||
$records = 0;
|
||||
|
||||
foreach ($this->match($request) as $record)
|
||||
foreach ($this->like($request) as $record)
|
||||
{
|
||||
$records += $this->delete(
|
||||
$record->id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue