Passed
Push — master ( b0f5d7...c171ec )
by Sergey
02:30
created
src/PhpConsole/Storage/Session.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,8 +21,8 @@
 block discarded – undo
21 21
 	 * @param bool $autoStart Start session if it's not started
22 22
 	 */
23 23
 	public function __construct($sessionKey = '__PHP_Console_postponed', $autoStart = true) {
24
-        	if($autoStart && (defined('PHP_SESSION_ACTIVE') ? session_status() != PHP_SESSION_ACTIVE : !session_id()) && !headers_sent()) {
25
-        		session_start();
24
+			if($autoStart && (defined('PHP_SESSION_ACTIVE') ? session_status() != PHP_SESSION_ACTIVE : !session_id()) && !headers_sent()) {
25
+				session_start();
26 26
 		}
27 27
 		register_shutdown_function('session_write_close'); // force saving session data if session handler is overridden
28 28
 		$this->sessionKey = $sessionKey;
Please login to merge, or discard this patch.