feat: BaseAPI의 launch()에 타입 지정
- APIRecoveryType이 명시
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
namespace sammo\API\Nation;
|
||||
|
||||
use sammo\DB;
|
||||
use sammo\Enums\APIRecoveryType;
|
||||
use sammo\Session;
|
||||
use sammo\Validator;
|
||||
|
||||
@@ -99,7 +100,7 @@ class GetGeneralLog extends \sammo\BaseAPI
|
||||
return $this->args['generalID'];
|
||||
}
|
||||
|
||||
public function launch(Session $session, ?\DateTimeInterface $modifiedSince, ?string $reqEtag)
|
||||
public function launch(Session $session, ?\DateTimeInterface $modifiedSince, ?string $reqEtag): null | string | array | APIRecoveryType
|
||||
{
|
||||
$userID = $session->userID;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user