You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CacheWarmer/ValidatorCacheWarmer.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ public function __construct($validatorBuilder, string $phpArrayFile)
42
42
if (!$validatorBuilderinstanceof ValidatorBuilder && !$validatorBuilderinstanceof ValidatorBuilderInterface) {
43
43
thrownew \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)));
44
44
}
45
-
if (2 < \func_num_args() && \func_get_arg(2) instanceof CacheItemPoolInterface) {
45
+
if (2 < \func_num_args() && func_get_arg(2) instanceof CacheItemPoolInterface) {
46
46
@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);
0 commit comments