Add declare(strict_types = 1) to MDConsole
This commit is contained in:
parent
e691f517f9
commit
4c1ea711da
|
@ -4,6 +4,7 @@
|
|||
*
|
||||
* @author Joshua Ramon Enslin <joshua@museum-digital.de>
|
||||
*/
|
||||
declare(strict_types = 1);
|
||||
|
||||
/**
|
||||
* Interface for CLI outputs of museum-digital's dev and admin tools.
|
||||
|
@ -109,7 +110,7 @@ class MDConsole {
|
|||
final public static function setupCLI():void {
|
||||
|
||||
$startTime = microtime(true);
|
||||
register_shutdown_function(function($startTime):void {
|
||||
register_shutdown_function(function($startTime) :void {
|
||||
|
||||
$duration = microtime(true) - $startTime;
|
||||
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
*
|
||||
* @author Joshua Ramon Enslin <joshua@museum-digital.de>
|
||||
*/
|
||||
declare(strict_types = 1);
|
||||
|
||||
/**
|
||||
* Class for handling outputs and logs for museum-digital's background tools.
|
||||
|
|
Loading…
Reference in New Issue
Block a user