Skip to content

Commit

Permalink
Release 1.23 - log2file bug - error 500
Browse files Browse the repository at this point in the history
  • Loading branch information
gerardnico committed Jan 17, 2022
1 parent d1a77b7 commit 4e9ad3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ComboStrap/LogUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,10 @@ private static function throwErrorIfTest($level, $message)
}

/**
* @param string $message
* @param string|null $message
* @throws ExceptionCombo
*/
private static function messageNotEmpty(string $message)
private static function messageNotEmpty(?string $message)
{
$message = trim($message);
if ($message === "" || $message === null) {
Expand Down

0 comments on commit 4e9ad3c

Please sign in to comment.