From 5d223f29d61f1d00230cb1ef1df46303381d0f1d Mon Sep 17 00:00:00 2001 From: Josh Tomar Date: Tue, 9 May 2023 15:44:10 -0700 Subject: [PATCH] Fix for Sonar --- src/Classes/Upload.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Classes/Upload.php b/src/Classes/Upload.php index 6c396e9..15f94d0 100644 --- a/src/Classes/Upload.php +++ b/src/Classes/Upload.php @@ -18,7 +18,7 @@ * along with this program. If not, see . */ namespace Pomf\Uguu\Classes; - require '../vendor/autoload.php'; + require_once '../vendor/autoload.php'; use Aws\S3\S3Client; use Aws\Exception\AwsException; @@ -336,4 +336,4 @@ } while ($this->Connector->dbCheckNameExists($NEW_NAME)); return $NEW_NAME; } - } \ No newline at end of file + }