Skip to content

Commit efaa154

Browse files
author
Robin Chalas
committed
minor #32146 [Security] add return type declaration (xabbuh)
This PR was merged into the 4.4 branch. Discussion ---------- [Security] add return type declaration | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #31532 | License | MIT | Doc PR | Commits ------- 9fe532d add return type declaration
2 parents 8124159 + 9fe532d commit efaa154

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Component/Security/Core/User

1 file changed

+1
-1
lines changed

src/Symfony/Component/Security/Core/User/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public function eraseCredentials()
120120
{
121121
}
122122

123-
public function getExtraFields()
123+
public function getExtraFields(): array
124124
{
125125
return $this->extraFields;
126126
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy