From ded60141a98e76a0dd288f2fd080a58a7f09880e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=BCleyman=20KENAR?= Date: Mon, 23 Jun 2025 16:49:57 +0300 Subject: [PATCH] Fix chat() method return type --- src/Facades/GrokAI.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Facades/GrokAI.php b/src/Facades/GrokAI.php index edcbd8a..6a0f05e 100644 --- a/src/Facades/GrokAI.php +++ b/src/Facades/GrokAI.php @@ -3,10 +3,11 @@ namespace GrokPHP\Laravel\Facades; use GrokPHP\Client\Clients\Vision; +use GrokPHP\Laravel\Support\GrokResponse; use Illuminate\Support\Facades\Facade; /** - * @method static array chat(array $messages, ?\GrokPHP\Client\Config\ChatOptions $options = null) + * @method static GrokResponse chat(array $messages, ?\GrokPHP\Client\Config\ChatOptions $options = null) * @method static Vision vision() */ class GrokAI extends Facade