Closed rashidlaasri closed 4 months ago
The model property is not an instance of Model, both the config file and this line return string
model
Model
HalilCosdu\ChatBot\Models\Thread::class
Which causes this error:
Cannot assign string to property HalilCosdu\ChatBot\Services\ChatBotService::$model of type ?Illuminate\Database\Eloquent\Model
This PR fixes it.
@halilcosdu Can we please tag a new release because it's currently failing without this PR?
Of course .
The
model
property is not an instance ofModel
, both the config file and this line return stringHalilCosdu\ChatBot\Models\Thread::class
Which causes this error:
Cannot assign string to property HalilCosdu\ChatBot\Services\ChatBotService::$model of type ?Illuminate\Database\Eloquent\Model
This PR fixes it.