Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Commit d7b081a

Browse files
committed
Fix statements order
1 parent ce76393 commit d7b081a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Console/Application.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ public function __construct()
4242
}
4343

4444
if (!$shutdownRegistered) {
45-
$shutdownRegistered = true;
46-
4745
register_shutdown_function(function () { $this->handleShutdown(); });
46+
$shutdownRegistered = true;
4847
}
4948

5049
parent::__construct('Jupyter-PHP Installer', '0.1');

0 commit comments

Comments
 (0)