File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Bridge/Twig/Tests/Extension/Fixtures Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ class StubFilesystemLoader
19
19
} else {
20
20
class StubFilesystemLoader extends \Twig_Loader_Filesystem
21
21
{
22
- protected function findTemplate ($ name )
22
+ protected function findTemplate ($ name, $ throw = true )
23
23
{
24
24
// strip away bundle name
25
25
$ parts = explode (': ' , $ name );
26
26
27
- return parent ::findTemplate (end ($ parts ));
27
+ return parent ::findTemplate (end ($ parts ), $ throw );
28
28
}
29
29
}
30
30
}
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public function exists($name)
64
64
*
65
65
* @throws \Twig_Error_Loader if the template could not be found
66
66
*/
67
- protected function findTemplate ($ template )
67
+ protected function findTemplate ($ template, $ throw = true )
68
68
{
69
69
$ logicalName = (string ) $ template ;
70
70
You can’t perform that action at this time.
0 commit comments