Skip to content

Commit d63c2c3

Browse files
authored
Suppress code standard warning
1 parent 6ee737b commit d63c2c3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/internal/Magento/Framework/Session/SessionManager.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
* Copyright © Magento, Inc. All rights reserved.
66
* See COPYING.txt for license details.
77
*/
8+
9+
// @codingStandardsIgnoreFile
10+
811
namespace Magento\Framework\Session;
912

1013
use Magento\Framework\Session\Config\ConfigInterface;
@@ -512,7 +515,7 @@ public function regenerateId()
512515
}
513516

514517
if ($this->isSessionExists()) {
515-
//regenerate the session
518+
// Regenerate the session
516519
session_regenerate_id();
517520
$newSessionId = session_id();
518521

@@ -523,8 +526,7 @@ public function regenerateId()
523526

524527
// Write and close current session;
525528
session_commit();
526-
527-
//called after destroy()
529+
// Called after destroy()
528530
$oldSession = $_SESSION;
529531
// Start session with new session ID
530532
session_id($newSessionId);

0 commit comments

Comments
 (0)