Add declare(strict_types = 1) to MDConsole

This commit is contained in:
Joshua Ramon Enslin 2020-08-29 12:16:59 +02:00 committed by Stefan Rohde-Enslin
parent e691f517f9
commit 4c1ea711da
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,7 @@
* *
* @author Joshua Ramon Enslin <joshua@museum-digital.de> * @author Joshua Ramon Enslin <joshua@museum-digital.de>
*/ */
declare(strict_types = 1);
/** /**
* Interface for CLI outputs of museum-digital's dev and admin tools. * Interface for CLI outputs of museum-digital's dev and admin tools.
@ -109,7 +110,7 @@ class MDConsole {
final public static function setupCLI():void { final public static function setupCLI():void {
$startTime = microtime(true); $startTime = microtime(true);
register_shutdown_function(function($startTime):void { register_shutdown_function(function($startTime) :void {
$duration = microtime(true) - $startTime; $duration = microtime(true) - $startTime;

View File

@ -4,6 +4,7 @@
* *
* @author Joshua Ramon Enslin <joshua@museum-digital.de> * @author Joshua Ramon Enslin <joshua@museum-digital.de>
*/ */
declare(strict_types = 1);
/** /**
* Class for handling outputs and logs for museum-digital's background tools. * Class for handling outputs and logs for museum-digital's background tools.