Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
achmadhadikurnia authored and github-actions[bot] committed Mar 9, 2024
1 parent dc59dea commit c49ae3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Traits/HasPnsEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function getPnsPhoto(array $paths = [], array $query = []): Response
return $this->get($urlParsed, $query);
}

public function downloadPnsPhoto(array $paths = [], array $query = [], string $disk = 'local', string $filename = null): string
public function downloadPnsPhoto(array $paths = [], array $query = [], string $disk = 'local', ?string $filename = null): string
{
$idPns = $paths['idPns'];
$filename = $filename ?? "siasn-simpeg/pns/photo/{$idPns}.jpg";
Expand Down
2 changes: 1 addition & 1 deletion src/Traits/HasUploadEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public function getDownloadDok(array $paths = [], array $query = []): Response
return $this->get($urlParsed, $query);
}

public function downloadDownloadDok(array $paths = [], array $query = [], string $disk = 'local', string $filename = null): string
public function downloadDownloadDok(array $paths = [], array $query = [], string $disk = 'local', ?string $filename = null): string
{
$filePath = $query['filePath'];
$filename = $filename ?? "siasn-simpeg/{$filePath}";
Expand Down

0 comments on commit c49ae3f

Please sign in to comment.