Continued:

- more type-hints
- fixed incompatible method declarations
This commit is contained in:
Roland Häder 2022-06-16 18:28:38 +02:00
parent 1edc6b3c3b
commit 40d7f29a11
6 changed files with 37 additions and 35 deletions

View file

@ -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);
}