mirror of
https://github.com/friendica/friendica
synced 2025-05-09 04:24:14 +02:00
Another incompatible method declaration fixed + type-hints added
This commit is contained in:
parent
40d7f29a11
commit
2c5595c358
2 changed files with 9 additions and 7 deletions
|
@ -43,9 +43,9 @@ class ProfileFields extends BaseCollection
|
|||
/**
|
||||
* @param callable|null $callback
|
||||
* @param int $flag
|
||||
* @return ProfileFields
|
||||
* @return ProfileFields as an extended version of BaseCollection
|
||||
*/
|
||||
public function filter(callable $callback = null, int $flag = 0): ProfileFields
|
||||
public function filter(callable $callback = null, int $flag = 0): BaseCollection
|
||||
{
|
||||
return parent::filter($callback, $flag);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue