Remove type hint for class property counter

This commit is contained in:
Joshua Ramon Enslin 2021-04-11 21:19:15 +02:00
parent b2f683e362
commit 8836765336
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -18,7 +18,7 @@ final class MDOutputHandler {
/** @var string */
private string $_logfile;
/** @var integer */
private int $_counter = 0;
private $_counter = 0;
/** @var boolean */
private bool $_file_logging = false;
/** @var float */
@ -103,7 +103,7 @@ final class MDOutputHandler {
final public function toLog(string $msg, int $statusCode = 0):void {
// Get parts for generating the message to log.
$this->_counter++; // Increment counter
++$this->_counter; // Increment counter
$date = \date("Y-m-d H:i:s"); // Get current date & time.
switch ($statusCode) {