Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 54e2d41

Browse filesBrowse files
committed
PHP Types fix thanks to fabbot.io
1 parent 484d5b8 commit 54e2d41
Copy full SHA for 54e2d41

File tree

Expand file treeCollapse file tree

3 files changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+5
-5
lines changed

‎src/Symfony/Bridge/Doctrine/Security/SessionRegistry/SessionRegistryStorage.php

Copy file name to clipboardExpand all lines: src/Symfony/Bridge/Doctrine/Security/SessionRegistry/SessionRegistryStorage.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function getSessionInformation($sessionId)
4343
* Obtains the maintained information for one user.
4444
*
4545
* @param string $username The user identifier.
46-
* @param boolean $includeExpiredSessions.
46+
* @param bool $includeExpiredSessions.
4747
* @return array An array of SessionInformation objects.
4848
*/
4949
public function getSessionInformations($username, $includeExpiredSessions = false)

‎src/Symfony/Component/Security/Http/Session/ConcurrentSessionControlAuthenticationStrategy.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Http/Session/ConcurrentSessionControlAuthenticationStrategy.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,15 @@ public function setExceptionIfMaximumExceeded($exceptionIfMaximumExceeded)
8383
*/
8484
public function setMaximumSessions($maximumSessions)
8585
{
86-
$this->maximumSessions = (integer) $maximumSessions;
86+
$this->maximumSessions = (int) $maximumSessions;
8787
}
8888

8989
/**
9090
* Allows subclasses to customise behaviour when too many sessions are detected.
9191
*
9292
* @param array $orderedSessions Array of SessionInformation ordered from
9393
* newest to oldest
94-
* @param integer $allowableSessions
94+
* @param int $allowableSessions
9595
* @param SessionRegistry $registry
9696
*/
9797
protected function allowableSessionsExceeded($orderedSessions, $allowableSessions, SessionRegistry $registry)
@@ -111,7 +111,7 @@ protected function allowableSessionsExceeded($orderedSessions, $allowableSession
111111
* Method intended for use by subclasses to override the maximum number of sessions that are permitted for a particular authentication.
112112
*
113113
* @param string $username
114-
* @return integer
114+
* @return int
115115
*/
116116
protected function getMaximumSessionsForThisUser($username)
117117
{

‎src/Symfony/Component/Security/Http/Session/SessionRegistry.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Http/Session/SessionRegistry.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function __construct(SessionRegistryStorageInterface $sessionRegistryStor
3232
* Obtains all the known sessions for the specified user.
3333
*
3434
* @param string $username the specified user.
35-
* @param boolean $includeExpiredSessions
35+
* @param bool $includeExpiredSessions
3636
* @return array An array of SessionInformation objects.
3737
*/
3838
public function getAllSessions($username, $includeExpiredSessions = false)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.