Skip to content

Commit b2f286b

Browse files
Cleanup @return annotations
1 parent 86ff536 commit b2f286b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Authenticator/Passport/PassportInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function hasBadge(string $badgeFqcn): bool;
4242
public function getBadge(string $badgeFqcn): ?BadgeInterface;
4343

4444
/**
45-
* @return array<class-string<BadgeInterface>, BadgeInterface> An array of badge instances indexed by class name
45+
* @return array<class-string<BadgeInterface>, BadgeInterface>
4646
*/
4747
public function getBadges(): array;
4848
}

HttpUtils.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function __construct(UrlGeneratorInterface $urlGenerator = null, $urlMatc
5656
* @param string $path A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo))
5757
* @param int $status The status code
5858
*
59-
* @return RedirectResponse A RedirectResponse instance
59+
* @return RedirectResponse
6060
*/
6161
public function createRedirectResponse(Request $request, string $path, int $status = 302)
6262
{
@@ -75,7 +75,7 @@ public function createRedirectResponse(Request $request, string $path, int $stat
7575
*
7676
* @param string $path A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo))
7777
*
78-
* @return Request A Request instance
78+
* @return Request
7979
*/
8080
public function createRequest(Request $request, string $path)
8181
{

0 commit comments

Comments
 (0)