Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 814177d

Browse filesBrowse files
committed
fixed CS
1 parent 1cde01d commit 814177d
Copy full SHA for 814177d

File tree

1 file changed

+0
-15
lines changed
Filter options

1 file changed

+0
-15
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Templating/GlobalVariables.php

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/FrameworkBundle/Templating/GlobalVariables.php
-15Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ public function __construct(ContainerInterface $container)
3434
}
3535

3636
/**
37-
* Returns the current token.
38-
*
3937
* @return TokenInterface|null
4038
*/
4139
public function getToken()
@@ -47,11 +45,6 @@ public function getToken()
4745
return $this->container->get('security.token_storage')->getToken();
4846
}
4947

50-
/**
51-
* Returns the current user.
52-
*
53-
* @see TokenInterface::getUser()
54-
*/
5548
public function getUser()
5649
{
5750
if (!$token = $this->getToken()) {
@@ -67,8 +60,6 @@ public function getUser()
6760
}
6861

6962
/**
70-
* Returns the current request.
71-
*
7263
* @return Request|null The HTTP request object
7364
*/
7465
public function getRequest()
@@ -79,8 +70,6 @@ public function getRequest()
7970
}
8071

8172
/**
82-
* Returns the current session.
83-
*
8473
* @return Session|null The session
8574
*/
8675
public function getSession()
@@ -91,8 +80,6 @@ public function getSession()
9180
}
9281

9382
/**
94-
* Returns the current app environment.
95-
*
9683
* @return string The current environment string (e.g 'dev')
9784
*/
9885
public function getEnvironment()
@@ -101,8 +88,6 @@ public function getEnvironment()
10188
}
10289

10390
/**
104-
* Returns the current app debug mode.
105-
*
10691
* @return bool The current debug mode
10792
*/
10893
public function getDebug()

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.