Skip to content

Commit

Permalink
rename $target_name to $targetName
Browse files Browse the repository at this point in the history
  • Loading branch information
4n70w4 committed May 17, 2019
1 parent 0b3af53 commit 4fe69b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Filesystem/FilesystemAdapter.php
Expand Up @@ -138,8 +138,8 @@ public function response($path, $name = null, array $headers = [], $disposition
{
$response = new StreamedResponse;

$target_name = $name ?? basename($path);
$disposition = $response->headers->makeDisposition($disposition, $target_name, Str::ascii($target_name));
$targetName = $name ?? basename($path);
$disposition = $response->headers->makeDisposition($disposition, $targetName, Str::ascii($targetName));

$response->headers->replace($headers + [
'Content-Type' => $this->mimeType($path),
Expand Down

0 comments on commit 4fe69b4

Please sign in to comment.