From 4be7bbfb393898e75886c52e7b54ff5f3e51e520 Mon Sep 17 00:00:00 2001 From: Josh Manders Date: Wed, 14 Aug 2024 11:22:18 -0500 Subject: [PATCH] fix: getResponse return type --- src/CloudinaryEngine.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CloudinaryEngine.php b/src/CloudinaryEngine.php index 2a18503..c351016 100644 --- a/src/CloudinaryEngine.php +++ b/src/CloudinaryEngine.php @@ -242,9 +242,9 @@ public function uploadVideo($file, array $options = []): static } /** - * @return array + * @return array|ApiResponse */ - public function getResponse(): array + public function getResponse(): array|ApiResponse { return $this->response; }