mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-25 13:16:31 +00:00
Use class_exists instead of require
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Twig\Node\Expression;
|
||||
|
||||
require __DIR__.'/../../../lib/Twig/Node/Expression/Function.php';
|
||||
class_exists('Twig_Node_Expression_Function');
|
||||
|
||||
if (\false) {
|
||||
class FunctionExpression extends \Twig_Node_Expression_Function
|
||||
|
||||
Reference in New Issue
Block a user