Skip to content

Commit

Permalink
Updated phpstan baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwojs committed Feb 4, 2025
1 parent c074fa8 commit 71374fc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,11 @@ parameters:
count: 1
path: src/lib/Invitation/Persistence/Mapper.php

-
message: "#^Method Ibexa\\\\User\\\\Pagination\\\\Pagerfanta\\\\UserSettingsAdapter\\:\\:getNbResults\\(\\) should return int\\<0, max\\> but returns int\\.$#"
count: 1
path: src/lib/Pagination/Pagerfanta/UserSettingsAdapter.php

-
message: "#^Method Ibexa\\\\User\\\\Pagination\\\\Pagerfanta\\\\UserSettingsAdapter\\:\\:getSlice\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
Expand Down
3 changes: 3 additions & 0 deletions src/lib/Pagination/Pagerfanta/UserSettingsAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
use Ibexa\User\UserSetting\UserSettingService;
use Pagerfanta\Adapter\AdapterInterface;

/**
* @phpstan-implements \Pagerfanta\Adapter\AdapterInterface<\Ibexa\User\UserSetting\UserSetting>
*/
class UserSettingsAdapter implements AdapterInterface
{
/** @var \Ibexa\User\UserSetting\UserSettingService */
Expand Down

0 comments on commit 71374fc

Please sign in to comment.