Skip to content

Commit 00d0b7a

Browse files
committed
docs: update coding style of sample code
1 parent 93e3043 commit 00d0b7a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ You can override the default configuration:
3333

3434
~~~php
3535
$config = [
36-
'paths' => ['/path/to/twig/templates', VIEWPATH],
37-
'cache' => '/path/to/twig/cache',
36+
'paths' => ['/path/to/twig/templates', VIEWPATH],
37+
'cache' => '/path/to/twig/cache',
3838
];
3939
$this->twig = new \Kenjis\CI4Twig\Twig($config);
4040
~~~
@@ -88,9 +88,9 @@ You can add your functions and filters with configuration:
8888

8989
~~~php
9090
$config = [
91-
'functions' => ['my_helper'],
92-
'functions_safe' => ['my_safe_helper'],
93-
'filters' => ['my_filter'],
91+
'functions' => ['my_helper'],
92+
'functions_safe' => ['my_safe_helper'],
93+
'filters' => ['my_filter'],
9494
];
9595
$this->twig = new \Kenjis\CI4Twig\Twig($config);
9696
~~~

0 commit comments

Comments
 (0)