Update StrengthValidator.php

Code cleanup and reformatting