Skip to content

Merge branch 'main' of github.com:vormkracht10/laravel-gpt #3

Merge branch 'main' of github.com:vormkracht10/laravel-gpt

Merge branch 'main' of github.com:vormkracht10/laravel-gpt #3

Triggered via push November 10, 2023 15:44
Status Failure
Total duration 36s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/EngineManager.php#L16
Method Vormkracht10\LaravelGpt\EngineManager::engine() has invalid return type Vormkracht10\Gpt\Engines\EngineInterface.
phpstan: src/EngineManager.php#L26
Method Vormkracht10\LaravelGpt\EngineManager::createOpenAiDriver() has invalid return type Vormkracht10\Gpt\Engines\OpenAiEngine.
phpstan: src/EngineManager.php#L30
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#L20
Unreachable statement - code above always terminates.
phpstan: src/Engines/OpenAiEngine.php#L44
Call to an undefined method Illuminate\Database\Eloquent\Model::toSearchableString().
phpstan: src/Engines/OpenAiEngine.php#L49
Call to an undefined method Illuminate\Database\Eloquent\Model::getGptKey().
phpstan: src/Engines/OpenAiEngine.php#L65
Call to static method connection() on an unknown class Vormkracht10\LaravelGpt\Engines\DB.
phpstan: src/Engines/OpenAiEngine.php#L85
Call to static method connection() on an unknown class Vormkracht10\LaravelGpt\Engines\DB.