Skip to content

Commit 869db47

Browse files
author
Михаил
authored
Use short array syntax
1 parent cf539d8 commit 869db47

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

TwigExtension/TicketGlobalExtension.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ public function __construct(ContainerInterface $container)
2626
public function getGlobals()
2727
{
2828
return array(
29-
'hackzilla_ticket' => array(
30-
'templates' => array(
29+
'hackzilla_ticket' => [
30+
'templates' => [
3131
'index' => $this->container->getParameter('hackzilla_ticket.templates.index'),
3232
'new' => $this->container->getParameter('hackzilla_ticket.templates.new'),
3333
'show' => $this->container->getParameter('hackzilla_ticket.templates.show'),
3434
'show_attachment' => $this->container->getParameter('hackzilla_ticket.templates.show_attachment'),
3535
'prototype' => $this->container->getParameter('hackzilla_ticket.templates.prototype'),
3636
'macros' => $this->container->getParameter('hackzilla_ticket.templates.macros'),
37-
),
38-
)
37+
],
38+
]
3939
);
4040
}
4141

0 commit comments

Comments
 (0)