diff --git a/core/lib/Drupal/Core/Template/TwigCacheChain.php b/core/lib/Drupal/Core/Template/TwigCacheChain.php index 956cb6d..dfd40a4 100644 --- a/core/lib/Drupal/Core/Template/TwigCacheChain.php +++ b/core/lib/Drupal/Core/Template/TwigCacheChain.php @@ -26,7 +26,7 @@ class TwigCacheChain implements \Twig_CacheInterface { * The cache classes to chain. */ public function __construct(array $caches) { - assert('Drupal\\Component\\Assertion\\Inspector::assertAllObjects($collection, \'\\Twig_CacheInterface\''); + assert('Drupal\\Component\\Assertion\\Inspector::assertAllObjects($caches, \'\\Twig_CacheInterface\')'); $this->caches = $caches; }