Skip to content

Commit 0ecc083

Browse files
authored
Merge pull request #102 from php-http/analysis-zYaLDo
Apply fixes from StyleCI
2 parents d39a879 + 3a3a6d6 commit 0ecc083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Strategy/MockClientStrategy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ final class MockClientStrategy implements DiscoveryStrategy
1717
*/
1818
public static function getCandidates($type)
1919
{
20-
return ($type === HttpClient::class)
20+
return (HttpClient::class === $type)
2121
? [['class' => Mock::class, 'condition' => Mock::class]]
2222
: [];
2323
}

0 commit comments

Comments
 (0)