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
public class ClassName { private string GetShopperReference(string customerNumber) { return adyenSettings.UseShipToNumberForVault && SiteContext.Current.ShipTo.CustomerSequence.IsNotBlank() ? SiteContext.Current.ShipTo.CustomerSequence : customerNumber; } }
Should probably be something like
The text was updated successfully, but these errors were encountered:
There doesn't seem to be a good way of dealing with this. These are some related cases.
Auto adding the ( ) would make it more readable, but we don't auto add them anywhere else right now.
( )
Indenting the && someOther..... doesn't work well with the 2nd case below, because then == and && are aligned.
&& someOther.....
==
&&
return someLongBoolean________________________________________ && someOtherLongBoolean____________________________________ ? ifTrue : ifFalse; return someLongCondition_________________________________________ == someThingElse______________________ && someOtherLongCondition____________________________________ ? trueValue________________________________ : falseValue_______________________________; return ( someLongCondition____________________________________ && someOtherLongCondition____________________________________ ) ? trueValue________________________________ : falseValue_______________________________;
Although.... maybe this is feasible?
Sorry, something went wrong.
No branches or pull requests
Should probably be something like
The text was updated successfully, but these errors were encountered: