Skip to content

Commit

Permalink
EZP-30985: Removed usage of deprecated interface (#24)
Browse files Browse the repository at this point in the history
Removed usage of deprecated Twig ExistsLoaderInterface.
  • Loading branch information
emodric authored and alongosz committed Oct 2, 2019
1 parent bad25d2 commit ab15dfb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Templating/Twig/TwigThemeLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

use EzSystems\EzPlatformDesignEngine\Templating\TemplateNameResolverInterface;
use EzSystems\EzPlatformDesignEngine\Templating\TemplatePathRegistryInterface;
use Twig\Loader\ExistsLoaderInterface;
use Twig\Loader\FilesystemLoader;
use Twig\Loader\LoaderInterface;
use Twig\Loader\SourceContextLoaderInterface;
Expand All @@ -20,7 +19,7 @@
* Decorates regular Twig FilesystemLoader.
* It resolves generic @ezdesign namespace to the actual current namespace.
*/
class TwigThemeLoader implements LoaderInterface, ExistsLoaderInterface, SourceContextLoaderInterface
class TwigThemeLoader implements LoaderInterface, SourceContextLoaderInterface
{
/**
* @var TemplateNameResolverInterface
Expand Down

0 comments on commit ab15dfb

Please sign in to comment.