PHAN 설정. sizeof 대신 count 사용

This commit is contained in:
2018-04-07 00:07:18 +09:00
parent a5bb9ba062
commit 15d1c2829a
8 changed files with 96 additions and 89 deletions
+8 -2
View File
@@ -148,8 +148,14 @@ function sendRawMessage($msgType, $isSender, $mailbox, $src, $dest, $msg, $date,
], Json::DELETE_NULL)
]);
}
function sendMessage($msgType, $src, $dest, $msg, $date = null, $validUntil = null, $msgOption = null){
/**
* @param string $msgType
* @param mixed[] $src
* @param mixed[] $dest
* @param null|string $date
* @param null|string $validUntil
*/
function sendMessage($msgType, array $src, array $dest, $msg, $date = null, $validUntil = null, $msgOption = null){
if($date === null){
$date = (new \Datetime())->format('Y-m-d H:i:s');
}