mirror of
https://github.com/friendica/friendica
synced 2025-05-09 04:24:14 +02:00
Continued:
- more type-hints - fixed incompatible method declarations
This commit is contained in:
parent
1edc6b3c3b
commit
40d7f29a11
6 changed files with 37 additions and 35 deletions
|
@ -33,9 +33,9 @@ class ProfileFields extends BaseCollection
|
|||
|
||||
/**
|
||||
* @param callable $callback
|
||||
* @return ProfileFields
|
||||
* @return ProfileFields (as an extended form of BaseCollection)
|
||||
*/
|
||||
public function map(callable $callback): ProfileFields
|
||||
public function map(callable $callback): BaseCollection
|
||||
{
|
||||
return parent::map($callback);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue