netglue/prismic-php-kit

View on GitHub
src/Prismic/Exception/ExpiredPreviewTokenException.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Parameter $response has undeclared type \Psr\Http\Message\ResponseInterface
Open

    public static function fromResponse(ResponseInterface $response) :? self

Property \Prismic\Exception\ExpiredPreviewTokenException->response has undeclared type \Psr\Http\Message\ResponseInterface
Open

    private $response;

Return type of getResponse() is undeclared type ?\Psr\Http\Message\ResponseInterface
Open

    public function getResponse() :? ResponseInterface

Call to method getBody from undeclared class \Psr\Http\Message\ResponseInterface
Open

        $body = json_decode((string) $response->getBody(), true);

Parameter $response has undeclared type \Psr\Http\Message\ResponseInterface
Open

    public static function isTokenExpiryResponse(ResponseInterface $response) : bool

There are no issues that match your filters.

Category
Status