createOTP 반환형 버그

This commit is contained in:
2018-09-10 01:49:11 +09:00
parent cebc8b77bf
commit b315d80838
+1 -1
View File
@@ -104,7 +104,7 @@ function createOTPbyUserNO(int $userNo):bool{
return true; return true;
} }
function createOTP(string $accessToken):array{ function createOTP(string $accessToken):?array{
$restAPI = new Kakao_REST_API_Helper($accessToken); $restAPI = new Kakao_REST_API_Helper($accessToken);
$OTPValue = Util::randRangeInt(10000, 99999); $OTPValue = Util::randRangeInt(10000, 99999);