@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | */ |
29 | 29 | static public function on_alter_engine_collection(EngineCollection\AlterEvent $event, EngineCollection $target) |
30 | 30 | { |
31 | - $target['.patron'] = __NAMESPACE__ . '\PatronEngine'; |
|
31 | + $target[ '.patron' ] = __NAMESPACE__ . '\PatronEngine'; |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | /* |
@@ -37,8 +37,8 @@ discard block |
||
37 | 37 | |
38 | 38 | static public function markup_render(array $args, $engine, $template) |
39 | 39 | { |
40 | - $thisArg = $args['select']; |
|
41 | - unset($args['select']); |
|
40 | + $thisArg = $args[ 'select' ]; |
|
41 | + unset($args[ 'select' ]); |
|
42 | 42 | |
43 | 43 | if (is_array($thisArg)) |
44 | 44 | { |
@@ -23,7 +23,7 @@ |
||
23 | 23 | /** |
24 | 24 | * @inheritdoc |
25 | 25 | */ |
26 | - public function render($template_pathname, $thisArg, array $variables, array $options = []) |
|
26 | + public function render($template_pathname, $thisArg, array $variables, array $options = [ ]) |
|
27 | 27 | { |
28 | 28 | $template = file_get_contents($template_pathname); |
29 | 29 | $patron = \Patron\get_patron(); |