From 25e40452e91b9d5343cc43396e8e721e2f38595d Mon Sep 17 00:00:00 2001 From: Joseph Szobody Date: Fri, 18 Jun 2021 11:59:59 -0400 Subject: [PATCH] not optional --- src/Jobs/UploadFile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Jobs/UploadFile.php b/src/Jobs/UploadFile.php index 692e348..779b6f6 100644 --- a/src/Jobs/UploadFile.php +++ b/src/Jobs/UploadFile.php @@ -48,7 +48,7 @@ class UploadFile implements ShouldQueue * @param $destinationPath * @param CloudStorage $storage */ - public function __construct($source, $destinationPath = null, CloudStorage $storage) + public function __construct($source, $destinationPath, CloudStorage $storage) { $this->source = $source; $this->destinationPath = $destinationPath; @@ -81,4 +81,4 @@ public function release() ->getWaitTime($this->job->attempts()) ); } -} \ No newline at end of file +}