Skip to content

Commit 5b6e78e

Browse files
elioerminijignesh-baldha
authored andcommitted
Suppress code standard warning
1 parent ac42b70 commit 5b6e78e

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;
@@ -509,7 +512,7 @@ public function regenerateId()
509512
}
510513

511514
if ($this->isSessionExists()) {
512-
//regenerate the session
515+
// Regenerate the session
513516
session_regenerate_id();
514517
$newSessionId = session_id();
515518

@@ -520,8 +523,7 @@ public function regenerateId()
520523

521524
// Write and close current session;
522525
session_commit();
523-
524-
//called after destroy()
526+
// Called after destroy()
525527
$oldSession = $_SESSION;
526528
// Start session with new session ID
527529
session_id($newSessionId);

0 commit comments

Comments
 (0)