Skip to content

Commit 29f6329

Browse files
Cleanup more @return annotations
1 parent 6c17efa commit 29f6329

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

DataCollector/SecurityDataCollector.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ public function lateCollect()
233233
/**
234234
* Checks if security is enabled.
235235
*
236-
* @return bool true if security is enabled, false otherwise
236+
* @return bool
237237
*/
238238
public function isEnabled()
239239
{
@@ -243,7 +243,7 @@ public function isEnabled()
243243
/**
244244
* Gets the user.
245245
*
246-
* @return string The user
246+
* @return string
247247
*/
248248
public function getUser()
249249
{
@@ -274,7 +274,7 @@ public function getInheritedRoles()
274274
* Checks if the data contains information about inherited roles. Still the inherited
275275
* roles can be an empty array.
276276
*
277-
* @return bool true if the profile was contains inherited role information
277+
* @return bool
278278
*/
279279
public function supportsRoleHierarchy()
280280
{
@@ -284,7 +284,7 @@ public function supportsRoleHierarchy()
284284
/**
285285
* Checks if the user is authenticated or not.
286286
*
287-
* @return bool true if the user is authenticated, false otherwise
287+
* @return bool
288288
*/
289289
public function isAuthenticated()
290290
{
@@ -318,7 +318,7 @@ public function getImpersonationExitPath()
318318
/**
319319
* Get the class name of the security token.
320320
*
321-
* @return string|Data|null The token
321+
* @return string|Data|null
322322
*/
323323
public function getTokenClass()
324324
{
@@ -338,7 +338,7 @@ public function getToken()
338338
/**
339339
* Get the logout URL.
340340
*
341-
* @return string|null The logout URL
341+
* @return string|null
342342
*/
343343
public function getLogoutUrl()
344344
{

DependencyInjection/MainConfiguration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function __construct(array $factories, array $userProviderFactories)
5151
/**
5252
* Generates the configuration tree builder.
5353
*
54-
* @return TreeBuilder The tree builder
54+
* @return TreeBuilder
5555
*/
5656
public function getConfigTreeBuilder()
5757
{

DependencyInjection/Security/Factory/AbstractFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ final public function addOption(string $name, $default = null)
9999
* Subclasses must return the id of a service which implements the
100100
* AuthenticationProviderInterface.
101101
*
102-
* @return string never null, the id of the authentication provider
102+
* @return string
103103
*/
104104
abstract protected function createAuthProvider(ContainerBuilder $container, string $id, array $config, string $userProviderId);
105105

0 commit comments

Comments
 (0)