Skip to content

Commit cfeb05f

Browse files
committed
fix: phpstan analyse error
1 parent e006aad commit cfeb05f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Log/Logger/DefaultLogger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function __construct()
5151
$this->path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'casbin.log';
5252
}
5353

54-
public function log($level, $message, array $context = []): void
54+
public function log($level, string|\Stringable $message, array $context = []): void
5555
{
5656
$timestamp = date('Y-m-d H:i:s');
5757
$message = (string) $message;

0 commit comments

Comments
 (0)