From 8251ab6414146727a017b91309d7689dba7f1f52 Mon Sep 17 00:00:00 2001 From: Igor Tarasov Date: Mon, 24 May 2021 18:34:05 +0300 Subject: [PATCH] Use namespaced Twig naming --- lib/Twig_Loader_Preprocessor.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/Twig_Loader_Preprocessor.php b/lib/Twig_Loader_Preprocessor.php index 947d8fd..f8e41ed 100644 --- a/lib/Twig_Loader_Preprocessor.php +++ b/lib/Twig_Loader_Preprocessor.php @@ -1,5 +1,7 @@ */ -class Twig_Loader_Preprocessor implements Twig_LoaderInterface +class Twig_Loader_Preprocessor implements LoaderInterface { private $realLoader; private $callback; @@ -29,7 +31,7 @@ class Twig_Loader_Preprocessor implements Twig_LoaderInterface * @param Twig_LoaderInterface $loader A loader that does real loading of templates * @param callable $callback The processing callback */ - public function __construct(Twig_LoaderInterface $loader, $callback) + public function __construct(LoaderInterface $loader, $callback) { $this->realLoader = $loader; $this->callback = $callback;