rcrowe / TwigBridge

Give the power of Twig to Laravel
MIT License
894 stars 168 forks source link

Replace usage of deprecated Twig_Error::getTemplateFile() #290

Open johnboy-leeds opened 7 years ago

johnboy-leeds commented 7 years ago

As per this commit in the twig getTemplateFile is now deprecated:

https://github.com/twigphp/Twig/commit/b399ec0d1a1cb260a0a5afa2fc7de46e11db6bae

Updated the usage to use the replacement method getTemplateName()