fixed CS
This commit is contained in:
parent
8787bbc94a
commit
fa38497957
@ -42,7 +42,7 @@ class ValidatorCacheWarmer extends AbstractPhpFileCacheWarmer
|
||||
if (!$validatorBuilder instanceof ValidatorBuilder && !$validatorBuilder instanceof ValidatorBuilderInterface) {
|
||||
throw new \TypeError(sprintf('Argument 1 passed to %s() must be an instance of %s, %s given.', __METHOD__, ValidatorBuilder::class, \is_object($validatorBuilder) ? \get_class($validatorBuilder) : \gettype($validatorBuilder)));
|
||||
}
|
||||
if (2 < \func_num_args() && \func_get_arg(2) instanceof CacheItemPoolInterface) {
|
||||
if (2 < \func_num_args() && func_get_arg(2) instanceof CacheItemPoolInterface) {
|
||||
@trigger_error(sprintf('The CacheItemPoolInterface $fallbackPool argument of "%s()" is deprecated since Symfony 4.2, you should not pass it anymore.', __METHOD__), E_USER_DEPRECATED);
|
||||
}
|
||||
parent::__construct($phpArrayFile);
|
||||
|
@ -106,7 +106,7 @@ final class SodiumPasswordEncoder implements PasswordEncoderInterface, SelfSalti
|
||||
public function needsRehash(string $encoded): bool
|
||||
{
|
||||
if (\function_exists('sodium_crypto_pwhash_str_needs_rehash')) {
|
||||
return \sodium_crypto_pwhash_str_needs_rehash($encoded, $this->opsLimit, $this->memLimit);
|
||||
return sodium_crypto_pwhash_str_needs_rehash($encoded, $this->opsLimit, $this->memLimit);
|
||||
}
|
||||
|
||||
if (\extension_loaded('libsodium')) {
|
||||
|
Reference in New Issue
Block a user