mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
debugPrint 함수의 파라미터 수 처리의 보완
This commit is contained in:
parent
6d2ee8dbea
commit
e8c4d3fe47
1 changed files with 2 additions and 2 deletions
|
|
@ -789,9 +789,9 @@ function getEncodeEmailAddress($email): string
|
|||
*/
|
||||
function debugPrint(...$entry): void
|
||||
{
|
||||
if (func_num_args() === 1)
|
||||
if (count($entry) <= 1)
|
||||
{
|
||||
$entry = $entry[0];
|
||||
$entry = $entry[0] ?? null;
|
||||
}
|
||||
|
||||
Rhymix\Framework\Debug::addEntry($entry);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue