Skip to content

Commit cf539d8

Browse files
author
Михаил
authored
Fix codestyle in TicketGlobalExtension
1 parent 7bffdc3 commit cf539d8

1 file changed

Lines changed: 9 additions & 13 deletions

File tree

TwigExtension/TicketGlobalExtension.php

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,27 @@
44

55
use Symfony\Component\DependencyInjection\ContainerInterface;
66

7-
class TicketGlobalExtension extends \Twig_Extension implements \Twig_Extension_GlobalsInterface {
7+
class TicketGlobalExtension extends \Twig_Extension implements \Twig_Extension_GlobalsInterface
8+
{
89

910
/**
10-
*
11-
* @access protected
12-
* @var \Symfony\Component\DependencyInjection\ContainerInterface $container
11+
* @var \Symfony\Component\DependencyInjection\ContainerInterface
1312
*/
1413
protected $container;
1514

1615
/**
17-
*
18-
* @access public
1916
* @param \Symfony\Component\DependencyInjection\ContainerInterface $container
2017
*/
21-
public function __construct(ContainerInterface $container) {
18+
public function __construct(ContainerInterface $container)
19+
{
2220
$this->container = $container;
2321
}
2422

2523
/**
26-
*
27-
* @access public
2824
* @return array
2925
*/
30-
public function getGlobals() {
26+
public function getGlobals()
27+
{
3128
return array(
3229
'hackzilla_ticket' => array(
3330
'templates' => array(
@@ -43,11 +40,10 @@ public function getGlobals() {
4340
}
4441

4542
/**
46-
*
47-
* @access public
4843
* @return string
4944
*/
50-
public function getName() {
45+
public function getName()
46+
{
5147
return 'ticketGlobal';
5248
}
5349

0 commit comments

Comments
 (0)