mirror of
https://github.com/bitinflow/accounts.git
synced 2026-03-16 06:55:51 +00:00
Fix parameter type and generate documentation
This commit is contained in:
@@ -32,12 +32,12 @@ trait DocumentsTrait
|
||||
/**
|
||||
* Create a Documents download url
|
||||
*
|
||||
* @param mixed $identifier
|
||||
* @param string $identifier
|
||||
* @param CarbonInterface|null $expiresAt
|
||||
*
|
||||
* @return Result
|
||||
*/
|
||||
public function createDocumentDownloadUrl($identifier, ?CarbonInterface $expiresAt = null): Result
|
||||
public function createDocumentDownloadUrl(string $identifier, ?CarbonInterface $expiresAt = null): Result
|
||||
{
|
||||
return $this->post("documents/$identifier/download-url", [
|
||||
'expires_at' => $expiresAt
|
||||
|
||||
Reference in New Issue
Block a user