Skip to content

Commit ba66463

Browse files
Docblock fixes
1 parent cdee77f commit ba66463

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

DataCollector/SecurityDataCollector.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public function collect(Request $request, Response $response, \Exception $except
6565
/**
6666
* Checks if security is enabled.
6767
*
68-
* @return bool true if security is enabled, false otherwise
68+
* @return bool true if security is enabled, false otherwise
6969
*/
7070
public function isEnabled()
7171
{
@@ -95,7 +95,7 @@ public function getRoles()
9595
/**
9696
* Checks if the user is authenticated or not.
9797
*
98-
* @return bool true if the user is authenticated, false otherwise
98+
* @return bool true if the user is authenticated, false otherwise
9999
*/
100100
public function isAuthenticated()
101101
{

DependencyInjection/Security/Factory/AbstractFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ protected function createEntryPoint($container, $id, $config, $defaultEntryPoint
146146
*
147147
* @param array $config
148148
*
149-
* @return bool Whether a possibly configured RememberMeServices should be set for this listener
149+
* @return bool Whether a possibly configured RememberMeServices should be set for this listener
150150
*/
151151
protected function isRememberMeAware($config)
152152
{

Templating/Helper/LogoutUrlHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ public function getLogoutUrl($key)
8181
/**
8282
* Generates the logout URL for the firewall.
8383
*
84-
* @param string $key The firewall key
85-
* @param bool|string $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
84+
* @param string $key The firewall key
85+
* @param bool|string $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
8686
*
8787
* @return string The logout URL
8888
*

Twig/Extension/LogoutUrlExtension.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ public function getFunctions()
4747
* Generate the relative logout URL for the firewall.
4848
*
4949
* @param string $key The firewall key
50+
*
5051
* @return string The relative logout URL
5152
*/
5253
public function getLogoutPath($key)
@@ -58,6 +59,7 @@ public function getLogoutPath($key)
5859
* Generate the absolute logout URL for the firewall.
5960
*
6061
* @param string $key The firewall key
62+
*
6163
* @return string The absolute logout URL
6264
*/
6365
public function getLogoutUrl($key)

0 commit comments

Comments
 (0)