mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-21 15:48:42 +00:00
Use class_exists instead of require
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Twig;
|
||||
|
||||
require __DIR__.'/../lib/Twig/Source.php';
|
||||
class_exists('Twig_Source');
|
||||
|
||||
if (\false) {
|
||||
class Source extends \Twig_Source
|
||||
|
||||
Reference in New Issue
Block a user