Remove type hint for class property counter
This commit is contained in:
parent
b2f683e362
commit
8836765336
|
@ -18,7 +18,7 @@ final class MDOutputHandler {
|
||||||
/** @var string */
|
/** @var string */
|
||||||
private string $_logfile;
|
private string $_logfile;
|
||||||
/** @var integer */
|
/** @var integer */
|
||||||
private int $_counter = 0;
|
private $_counter = 0;
|
||||||
/** @var boolean */
|
/** @var boolean */
|
||||||
private bool $_file_logging = false;
|
private bool $_file_logging = false;
|
||||||
/** @var float */
|
/** @var float */
|
||||||
|
@ -103,7 +103,7 @@ final class MDOutputHandler {
|
||||||
final public function toLog(string $msg, int $statusCode = 0):void {
|
final public function toLog(string $msg, int $statusCode = 0):void {
|
||||||
|
|
||||||
// Get parts for generating the message to log.
|
// 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.
|
$date = \date("Y-m-d H:i:s"); // Get current date & time.
|
||||||
|
|
||||||
switch ($statusCode) {
|
switch ($statusCode) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user