Fix parameter type and generate documentation

This commit is contained in:
René Preuß committed 2019-11-19 17:21:13 +01:00
1 parent 203dc18766
commit b5ad7786f2
3 files changed
+17 -9

No files matched your search

@@ -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