Browse files

Fixed some errors with twig :)

  • Loading branch information...
1 parent a5d053f commit 00fc6e9275acee98f849288874a698a860812346 @mpscholten committed Oct 13, 2013
View
2 src/Propel/Generator/Builder/Om/ObjectBuilder.php
@@ -285,7 +285,7 @@ protected function addClassBody(&$script)
'\Propel\Runtime\ActiveQuery\PropelQuery'
);
- $script .= $this->twig->render('Object/_classBody.php.twig', ['builder' => $this]);
+ $script .= $this->getTwig()->render('Object/_classBody.php.twig', ['builder' => $this]);
$this->addCrossFKMethods($script);
View
12 src/Propel/Generator/Builder/PropelTwigExtension.php
@@ -26,7 +26,7 @@ public function initRuntime(Twig_Environment $environment)
*/
public function getTokenParsers()
{
-
+ return [];
}
/**
@@ -36,7 +36,7 @@ public function getTokenParsers()
*/
public function getNodeVisitors()
{
-
+ return [];
}
/**
@@ -73,7 +73,7 @@ public function getFilters()
*/
public function getTests()
{
-
+ return [];
}
/**
@@ -83,7 +83,7 @@ public function getTests()
*/
public function getFunctions()
{
-
+ return [];
}
/**
@@ -93,7 +93,7 @@ public function getFunctions()
*/
public function getOperators()
{
-
+ return [];
}
/**
@@ -103,7 +103,7 @@ public function getOperators()
*/
public function getGlobals()
{
-
+ return [];
}
/**

0 comments on commit 00fc6e9

Please sign in to comment.