8000 minor #42216 Fix intersection types on tests (nicolas-grekas) · symfony/symfony@29277c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 29277c9

Browse files
minor #42216 Fix intersection types on tests (nicolas-grekas)
This PR was merged into the 4.4 branch. Discussion ---------- Fix intersection types on tests | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- 8c11c16 Fix intersection types on tests
2 parents 24a993a + 8c11c16 commit 29277c9

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/Symfony/Bundle/FrameworkBundle/Tests/CacheWarmer/AnnotationsCacheWarmerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public function testWarmupRemoveCacheMisses()
167167
}
168168

169169
/**
170-
* @return MockObject|Reader
170+
* @return MockObject&Reader
171171
*/
172172
private function getReadOnlyReader()
173173
{

src/Symfony/Bundle/FrameworkBundle/Tests/Command/CachePoolDeleteCommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public function testCommandDeleteFailed()
8484
}
8585

8686
/**
87-
* @return MockObject|KernelInterface
87+
* @return MockObject&KernelInterface
8888
*/
8989
private function getKernel()
9090
{

src/Symfony/Bundle/FrameworkBundle/Tests/Command/CachePruneCommandTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ private function getEmptyRewindableGenerator(): RewindableGenerator
5151
}
5252

5353
/**
54-
* @return MockObject|KernelInterface
54+
* @return MockObject&KernelInterface
5555
*/
5656
private function getKernel()
5757
{
@@ -72,7 +72,7 @@ private function getKernel()
7272
}
7373

7474
/**
75-
* @return MockObject|PruneableInterface
75+
* @return MockObject&PruneableInterface
7676
*/
7777
private function getPruneableInterfaceMock()
7878
{

src/Symfony/Component/Cache/Tests/Adapter/TagAwareAdapterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public function testLog()
217217
}
218218

219219
/**
220-
* @return MockObject|PruneableCacheInterface
220+
* @return MockObject&PruneableCacheInterface
221221
*/
222222
private function getPruneableMock(): AdapterInterface
223223
{

src/Symfony/Component/Serializer/Tests/Encoder/XmlEncoderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ private function createXmlEncoderWithDateTimeNormalizer(): XmlEncoder
931931
}
932932

933933
/**
934-
* @return MockObject|NormalizerInterface
934+
* @return MockObject&NormalizerInterface
935935
*/
936936
private function createMockDateTimeNormalizer()
937937
{

0 commit comments

Comments
 (0)
0