fix(2.0): adjust frontend typings #45
Annotations
8 errors
|
Run PHPStan:
src/Listeners/AddApiAttributes.php#L19
Parameter $serializer of method FoF\FrontPage\Listeners\AddApiAttributes::__invoke() has invalid type Flarum\Api\Serializer\DiscussionSerializer.
|
Run PHPStan:
src/Listeners/AddApiAttributes.php#L22
Call to method formatDate() on an unknown class Flarum\Api\Serializer\DiscussionSerializer.
|
Run PHPStan:
src/Listeners/AddApiAttributes.php#L23
Call to method getActor() on an unknown class Flarum\Api\Serializer\DiscussionSerializer.
|
Run PHPStan:
src/Query/FrontFilter.php#L32
Parameter $search of method FoF\FrontPage\Query\FrontFilter::conditions() has invalid type Flarum\Search\AbstractQueryState.
|
Run PHPStan:
src/Query/FrontFilter.php#L34
Call to method getQuery() on an unknown class Flarum\Search\AbstractQueryState.
|
Run PHPStan:
src/Query/FrontFilter.php#L39
Call to an undefined method Flarum\Search\SearchState::getQuery().
|
Run PHPStan
Process completed with exit code 1.
|
Loading