mirror of
https://github.com/friendica/friendica
synced 2025-05-09 03:44:11 +02:00
Adapt ProfileField & Fix current PermissionSet Usage at ProfileFields
This commit is contained in:
parent
8a354dac82
commit
5fecc9ecf7
11 changed files with 145 additions and 144 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue