Skip to content

Commit bd920dd

Browse files
Fix intersection types on tests
1 parent c3557b6 commit bd920dd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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
{

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
{

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
{

0 commit comments

Comments
 (0)