Skip to content

Commit b49a855

Browse files
committed
minor symfony#61216 [Cache] fix compatibility with Relay 0.11.1 (xabbuh)
This PR was merged into the 7.4 branch. Discussion ---------- [Cache] fix compatibility with Relay 0.11.1 | Q | A | ------------- | --- | Branch? | 7.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- 82be834 fix compatibility with Relay 0.11.1
2 parents 4477c7a + 82be834 commit b49a855

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/Symfony/Component/Cache/Traits/RelayProxy.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,11 @@ public function isConnected(): bool
778778
return $this->initializeLazyObject()->isConnected(...\func_get_args());
779779
}
780780

781+
public function isTracked($key): bool
782+
{
783+
return $this->initializeLazyObject()->isTracked(...\func_get_args());
784+
}
785+
781786
public function jsonArrAppend($key, $value_or_array, $path = null): \Relay\Relay|array|false
782787
{
783788
return $this->initializeLazyObject()->jsonArrAppend(...\func_get_args());

src/Symfony/Component/Cache/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
},
4545
"conflict": {
4646
"ext-redis": "<6.2",
47-
"ext-relay": "<0.11",
47+
"ext-relay": "<0.11.1",
4848
"doctrine/dbal": "<3.6",
4949
"symfony/dependency-injection": "<6.4",
5050
"symfony/http-kernel": "<6.4",

0 commit comments

Comments
 (0)