diff options
Diffstat (limited to 'apps/dav/lib/Events/BeforeFileDirectDownloadedEvent.php')
-rw-r--r-- | apps/dav/lib/Events/BeforeFileDirectDownloadedEvent.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/dav/lib/Events/BeforeFileDirectDownloadedEvent.php b/apps/dav/lib/Events/BeforeFileDirectDownloadedEvent.php index adaa7f1a81c..a79d730e8ff 100644 --- a/apps/dav/lib/Events/BeforeFileDirectDownloadedEvent.php +++ b/apps/dav/lib/Events/BeforeFileDirectDownloadedEvent.php @@ -15,11 +15,10 @@ use OCP\Files\File; * @since 22.0.0 */ class BeforeFileDirectDownloadedEvent extends Event { - private $file; - - public function __construct(File $file) { + public function __construct( + private File $file, + ) { parent::__construct(); - $this->file = $file; } /** |