Skip to content

Commit fe72c36

Browse files
committed
fixed CS
1 parent 8ff81c7 commit fe72c36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CacheWarmer/ValidatorCacheWarmer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __construct($validatorBuilder, string $phpArrayFile)
4242
if (!$validatorBuilder instanceof ValidatorBuilder && !$validatorBuilder instanceof ValidatorBuilderInterface) {
4343
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)));
4444
}
45-
if (2 < \func_num_args() && \func_get_arg(2) instanceof CacheItemPoolInterface) {
45+
if (2 < \func_num_args() && func_get_arg(2) instanceof CacheItemPoolInterface) {
4646
@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);
4747
}
4848
parent::__construct($phpArrayFile);

0 commit comments

Comments
 (0)