Skip to content
Snippets Groups Projects

Issue #3182088: Warning function findTemplate should be compatible with parent function

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -77,7 +77,7 @@ class Loader extends \Twig_Loader_Filesystem {
/**
* {@inheritdoc}
*/
protected function findTemplate($name) {
protected function findTemplate($name, $throw = TRUE) {
if (is_null($this->components)) {
// Scan the directory for any twig files and register them.
// TODO: inherit components from base theme.
Loading