Commit 0b82a67
committed
minor symfony#59717 Fix return type of mock factory in Redis
This PR was merged into the 7.3 branch.
Discussion
----------
Fix return type of mock factory in Redis `ConnectionTest`
| Q | A
| ------------- | ---
| Branch? | 7.3
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues | -
| License | MIT
The return type is wrong, causing warnings being raised by IDE when calling mock methods on the return value.
Commits
-------
eb3bf17 Fix return type of mock in Redis `ConnectionTest`ConnectionTest (alexandre-daubois)File tree
1 file changed
+2
-1
lines changed- src/Symfony/Component/Messenger/Bridge/Redis/Tests/Transport
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
524 | 525 | | |
525 | 526 | | |
526 | 527 | | |
527 | | - | |
| 528 | + | |
528 | 529 | | |
529 | 530 | | |
530 | 531 | | |
| |||
0 commit comments