Adapt ProfileField & Fix current PermissionSet Usage at ProfileFields

This commit is contained in:
Philipp 2021-10-17 15:32:50 +02:00
parent 8a354dac82
commit 5fecc9ecf7
No known key found for this signature in database
GPG key ID: 24A7501396EB5432
11 changed files with 145 additions and 144 deletions

View file

@ -35,7 +35,7 @@ class ProfileFields extends BaseCollection
* @param callable $callback
* @return ProfileFields
*/
public function map(callable $callback): self
public function map(callable $callback): ProfileFields
{
return parent::map($callback);
}
@ -45,7 +45,7 @@ class ProfileFields extends BaseCollection
* @param int $flag
* @return ProfileFields
*/
public function filter(callable $callback = null, int $flag = 0): self
public function filter(callable $callback = null, int $flag = 0): ProfileFields
{
return parent::filter($callback, $flag);
}