Upgrade to rc5

This commit is contained in:
Bastian Allgeier
2020-12-10 11:24:42 +01:00
parent 3fec0d7c93
commit c378376bc9
257 changed files with 13009 additions and 1846 deletions

View File

@@ -128,13 +128,13 @@ class Users extends Collection
}
/**
* Shortcut for `$users->filterBy('role', 'admin')`
* Shortcut for `$users->filter('role', 'admin')`
*
* @param string $role
* @return self
*/
public function role(string $role)
{
return $this->filterBy('role', $role);
return $this->filter('role', $role);
}
}