We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d39a879 + 3a3a6d6 commit 0ecc083Copy full SHA for 0ecc083
src/Strategy/MockClientStrategy.php
@@ -17,7 +17,7 @@ final class MockClientStrategy implements DiscoveryStrategy
17
*/
18
public static function getCandidates($type)
19
{
20
- return ($type === HttpClient::class)
+ return (HttpClient::class === $type)
21
? [['class' => Mock::class, 'condition' => Mock::class]]
22
: [];
23
}
0 commit comments