Skip to content

Commit 52ed8ca

Browse files
committed
made phpdoc types consistent with those defined in Hack
1 parent 390af5d commit 52ed8ca

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

EntryPoint/FormAuthenticationEntryPoint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class FormAuthenticationEntryPoint implements AuthenticationEntryPointInterface
3434
* @param HttpKernelInterface $kernel
3535
* @param HttpUtils $httpUtils An HttpUtils instance
3636
* @param string $loginPath The path to the login form
37-
* @param Boolean $useForward Whether to forward or redirect to the login form
37+
* @param bool $useForward Whether to forward or redirect to the login form
3838
*/
3939
public function __construct(HttpKernelInterface $kernel, HttpUtils $httpUtils, $loginPath, $useForward = false)
4040
{

HttpUtils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function __construct(UrlGeneratorInterface $urlGenerator = null, $urlMatc
5353
*
5454
* @param Request $request A Request instance
5555
* @param string $path A path (an absolute path (/foo), an absolute URL (http://...), or a route name (foo))
56-
* @param integer $status The status code
56+
* @param int $status The status code
5757
*
5858
* @return RedirectResponse A RedirectResponse instance
5959
*/

RememberMe/TokenBasedRememberMeServices.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ protected function onLoginSuccess(Request $request, Response $response, TokenInt
116116
*
117117
* @param string $class
118118
* @param string $username The username
119-
* @param integer $expires The Unix timestamp when the cookie expires
119+
* @param int $expires The Unix timestamp when the cookie expires
120120
* @param string $password The encoded password
121121
*
122122
* @throws \RuntimeException if username contains invalid chars
@@ -138,7 +138,7 @@ protected function generateCookieValue($class, $username, $expires, $password)
138138
*
139139
* @param string $class
140140
* @param string $username The username
141-
* @param integer $expires The Unix timestamp when the cookie expires
141+
* @param int $expires The Unix timestamp when the cookie expires
142142
* @param string $password The encoded password
143143
*
144144
* @throws \RuntimeException when the private key is empty

0 commit comments

Comments
 (0)