Skip to content

Commit c3bcc78

Browse files
committed
Inline local variable
1 parent 89feb9c commit c3bcc78

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/framework/src/Support/Filesystem/MediaFile.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@ class MediaFile extends ProjectFile
3131

3232
public function __construct(string $path)
3333
{
34-
$path = $this->getNormalizedPath($path);
35-
36-
parent::__construct($path);
34+
parent::__construct($this->getNormalizedPath($path));
3735

3836
$this->length = $this->findContentLength();
3937
$this->mimeType = $this->findMimeType();

0 commit comments

Comments
 (0)