File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 66 */
77namespace Madapaja \TwigModule ;
88
9- use BEAR \Package \Provide \Error \LogRef ;
109use BEAR \Resource \Code ;
1110use BEAR \Resource \Exception \BadRequestException as BadRequest ;
1211use BEAR \Resource \Exception \ResourceNotFoundException as NotFound ;
Original file line number Diff line number Diff line change @@ -29,10 +29,10 @@ class TwigModule extends AbstractModule
2929 private $ options ;
3030
3131 /**
32- * @param array $paths Twig template paths
33- * @param array $options Twig_Environment options
34- *
32+ * @param array $paths Twig template paths
33+ * @param array $options Twig_Environment options
3534 * @param AbstractModule|null $module
35+ *
3636 * @see http://twig.sensiolabs.org/api/master/Twig_Environment.html
3737 */
3838 public function __construct ($ paths = [], $ options = [], AbstractModule $ module = null )
@@ -66,7 +66,8 @@ private function bindTwigLoader()
6666 $ this
6767 ->bind (LoaderInterface::class)
6868 ->annotatedWith (TwigLoader::class)
69- ->toConstructor (FilesystemLoader::class,
69+ ->toConstructor (
70+ FilesystemLoader::class,
7071 'paths=Madapaja\TwigModule\Annotation\TwigPaths '
7172 );
7273 }
You can’t perform that action at this time.
0 commit comments