Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1fcfcc9

Browse filesBrowse files
Merge branch '8.0' into 8.1
* 8.0: [Cache] More relay traits fixes
2 parents b140856 + 29ea7ce commit 1fcfcc9
Copy full SHA for 1fcfcc9

4 files changed

+5-5Lines changed: 5 additions & 5 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/reference.php‎

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/reference.php
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@
135135
* }
136136
* @psalm-type AppConfig = bool|Param
137137
* @psalm-type PrototypedConfigConfig = array<string, array{ // Default: []
138-
* %s value?: scalar|Param|null,
139-
* %s}>
138+
* %w value?: scalar|Param|null,
139+
* %w}>
140140
* @psalm-type ConfigType = array{
141141
* imports?: ImportsConfig,
142142
* parameters?: ParametersConfig,
Collapse file

‎src/Symfony/Component/Cache/Traits/Relay/Relay21Trait.php‎

Copy file name to clipboardExpand all lines: src/Symfony/Component/Cache/Traits/Relay/Relay21Trait.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
*/
1818
trait Relay21Trait
1919
{
20-
public function gcra($key, $maxBurst, $requestsPerPeriod, $period, $numRequests = 0): \Relay\Relay|array|false
20+
public function gcra($key, $maxBurst, $requestsPerPeriod, $period, $tokens = 0): \Relay\Relay|array|false
2121
{
2222
return $this->initializeLazyObject()->gcra(...\func_get_args());
2323
}
Collapse file

‎src/Symfony/Component/Cache/Traits/Relay/RelayCluster21Trait.php‎

Copy file name to clipboardExpand all lines: src/Symfony/Component/Cache/Traits/Relay/RelayCluster21Trait.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function clusterscan(&$iterator, $match = null, $count = 0, $type = null,
2222
return $this->initializeLazyObject()->clusterscan($iterator, ...\array_slice(\func_get_args(), 1));
2323
}
2424

25-
public function gcra($key, $maxBurst, $requestsPerPeriod, $period, $numRequests = 0): \Relay\Cluster|array|false
25+
public function gcra($key, $maxBurst, $requestsPerPeriod, $period, $tokens = 0): \Relay\Cluster|array|false
2626
{
2727
return $this->initializeLazyObject()->gcra(...\func_get_args());
2828
}
Collapse file

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Cache/Traits/RelayProxy.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ public function close(): bool
199199
return $this->initializeLazyObject()->close(...\func_get_args());
200200
}
201201

202-
public function cmsIncrBy($key, $field, $value, ...$fields_and_falues): \Relay\Relay|array|false
202+
public function cmsIncrBy($key, $field, $value, ...$fields_and_values): \Relay\Relay|array|false
203203
{
204204
return $this->initializeLazyObject()->cmsIncrBy(...\func_get_args());
205205
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.