}
protected function getDefaultParams() {
- $params = array();
+ $params = [];
foreach ( $this->config['types'] as $type ) {
$passObj = $this->factory->newFromType( $type );
foreach ( $this->config['types'] as $i => $type ) {
if ( $i == 0 ) {
continue;
- };
+ }
// Construct pseudo-hash based on params and arguments
/** @var ParameterizedPassword $passObj */