Skip to content

Update readme with more accurate class names #18

Update readme with more accurate class names

Update readme with more accurate class names #18

Triggered via push May 22, 2024 04:06
Status Failure
Total duration 27s
Artifacts

phpstan.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors
phpstan: src/AIPlatform/Contracts/PartContract.php#L9
Method XbNz\Gemini\AIPlatform\Contracts\PartContract::toPartArray() return type has no value type specified in iterable type array.
phpstan: src/AIPlatform/GoogleAIPlatformService.php#L70
Parameter #1 $value of static method XbNz\Gemini\AIPlatform\Enums\FinishReason::from() expects int|string, mixed given.
phpstan: src/AIPlatform/GoogleAIPlatformService.php#L72
Parameter #1 $promptTokenCount of class XbNz\Gemini\AIPlatform\ValueObjects\Usage constructor expects int<1, max>, mixed given.
phpstan: src/AIPlatform/GoogleAIPlatformService.php#L73
Parameter #2 $totalTokenCount of class XbNz\Gemini\AIPlatform\ValueObjects\Usage constructor expects int<1, max>, mixed given.
phpstan: src/AIPlatform/GoogleAIPlatformService.php#L74
Parameter #3 $candidatesTokenCount of class XbNz\Gemini\AIPlatform\ValueObjects\Usage constructor expects int<1, max>|null, mixed given.
phpstan: src/AIPlatform/GoogleAIPlatformService.php#L78
Parameter #1 $value of static method XbNz\Gemini\AIPlatform\Enums\Role::from() expects int|string, mixed given.
phpstan: src/AIPlatform/GoogleAIPlatformService.php#L80
Parameter #1 $text of class XbNz\Gemini\AIPlatform\ValueObjects\TextPart constructor expects non-empty-string, mixed given.
phpstan: src/OAuth2/GoogleOAuth2Service.php#L58
Parameter #1 ...$constructors of method CuyZ\Valinor\MapperBuilder::registerConstructor() expects (pure-callable(): mixed)|class-string, Closure(string, int): Carbon\CarbonInterval given.
phpstan
Process completed with exit code 1.