Skip to content

Commit

Permalink
Fix fails tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vtsykun committed Sep 10, 2023
1 parent 55582fd commit ede7c58
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Symfony/Component/Cache/Traits/RelayProxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,11 @@ public function bitcount($key, $start = 0, $end = -1, $by_bit = false): \Relay\R
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitcount(...\func_get_args());
}

public function bitfields($key, ...$args): \Relay\Relay|array|false

Check failure on line 459 in src/Symfony/Component/Cache/Traits/RelayProxy.php

View workflow job for this annotation

GitHub Actions / Psalm

PossiblyUnusedMethod

src/Symfony/Component/Cache/Traits/RelayProxy.php:459:21: PossiblyUnusedMethod: Cannot find any calls to method Symfony\Component\Cache\Traits\RelayProxy::bitfields (see https://psalm.dev/087)

Check failure on line 459 in src/Symfony/Component/Cache/Traits/RelayProxy.php

View workflow job for this annotation

GitHub Actions / Psalm

PossiblyUnusedMethod

src/Symfony/Component/Cache/Traits/RelayProxy.php:459:21: PossiblyUnusedMethod: Cannot find any calls to method Symfony\Component\Cache\Traits\RelayProxy::bitfields (see https://psalm.dev/087)
{
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitfield(...\func_get_args());
}

public function config($operation, $key = null, $value = null): \Relay\Relay|array|bool
{
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->config(...\func_get_args());
Expand Down

0 comments on commit ede7c58

Please sign in to comment.