Init #2
Annotations
10 errors
phpstan:
src/EngineManager.php#L17
Method Vormkracht10\LaravelGpt\EngineManager::engine() has invalid return type Vormkracht10\Gpt\Engines\EngineInterface.
|
phpstan:
src/EngineManager.php#L27
Method Vormkracht10\LaravelGpt\EngineManager::createOpenAiDriver() has invalid return type Vormkracht10\Gpt\Engines\OpenAiEngine.
|
phpstan:
src/EngineManager.php#L31
Method Vormkracht10\LaravelGpt\EngineManager::createOpenAiDriver() should return Vormkracht10\Gpt\Engines\OpenAiEngine but returns Vormkracht10\LaravelGpt\Engines\OpenAiEngine.
|
phpstan:
src/Engines/EngineInterface.php#L13
PHPDoc tag @param references unknown parameter: $content
|
phpstan:
src/Engines/OpenAiEngine.php#L9
Property Vormkracht10\LaravelGpt\Engines\OpenAiEngine::$apiUrl is never read, only written.
|
phpstan:
src/Engines/OpenAiEngine.php#L18
Unreachable statement - code above always terminates.
|
phpstan:
src/Engines/OpenAiEngine.php#L43
Call to an undefined method Illuminate\Database\Eloquent\Model::toSearchableString().
|
phpstan:
src/Engines/OpenAiEngine.php#L48
Call to an undefined method Illuminate\Database\Eloquent\Model::getGptKey().
|
phpstan:
src/Engines/OpenAiEngine.php#L63
Call to static method connection() on an unknown class Vormkracht10\LaravelGpt\Engines\DB.
|
phpstan:
src/Engines/OpenAiEngine.php#L83
Call to static method connection() on an unknown class Vormkracht10\LaravelGpt\Engines\DB.
|