Skip to content

Commit

Permalink
style ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jqhph committed Dec 22, 2020
1 parent 94efea4 commit 97b3b44
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Show/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,15 +246,14 @@ public function image($server = '', $width = 200, $height = 200)
* Show field as a file.
*
* @param string $server
* @param bool $download
*
* @return Field
*/
public function file($server = '', $download = true)
public function file($server = '')
{
$field = $this;

return $this->unescape()->as(function ($path) use ($server, $field, $download) {
return $this->unescape()->as(function ($path) use ($server, $field) {
$name = basename($path);

$field->wrap(false);
Expand Down

0 comments on commit 97b3b44

Please sign in to comment.