We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
---------- begin diff ---------- --- Original +++ New @@ -31,7 +31,7 @@ -use Aerendir\Component\DigitalCertificateVerifier\Client as DcClient; +use Aerendir\Component\DigitalCertificateVerifier\Client; @@ -45,7 +45,7 @@ -use SHQ\Component\Whois\Client as WhoisClient; +use SHQ\Component\Whois\Client; @@ -77,8 +77,8 @@ */ public function __construct( - DcClient $certificateClient, - WhoisClient $whoisClient, + Client $certificateClient, + Client $whoisClient ) { ... ----------- end diff -----------
Here WhoisClient and DcClient are two completely different classes but Rector changes them to be both Client and this will cause errors.
WhoisClient
DcClient
Client
SUGGESTED APPROACHES
I prefer the second option as in the code I can better understand when I call one client over the other.
The text was updated successfully, but these errors were encountered:
Correctly consider the aliases as in use and so don't remove them.
I like this, because it preffers the programmers intention over semantics/language syntax.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Here
WhoisClient
andDcClient
are two completely different classes but Rector changes them to be bothClient
and this will cause errors.SUGGESTED APPROACHES
I prefer the second option as in the code I can better understand when I call one client over the other.
The text was updated successfully, but these errors were encountered: