AI: Fix errors for PHPStan rule level 0 after php-ai-client merge.
Developed in https://github.com/WordPress/wordpress-develop/pull/10990 Follow-up to r61699, r61700. Props westonruter, SirLouen, jason_the_adams. See #64591, #61175. Built from https://develop.svn.wordpress.org/trunk@61712 git-svn-id: http://core.svn.wordpress.org/trunk@61020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -27,8 +27,6 @@ class RequestAuthenticationMethod extends AbstractEnum
|
||||
* @since 0.4.0
|
||||
*
|
||||
* @return class-string<RequestAuthenticationInterface&WithArrayTransformationInterface> The implementation class.
|
||||
*
|
||||
* @phpstan-ignore missingType.generics
|
||||
*/
|
||||
public function getImplementationClass(): string
|
||||
{
|
||||
|
||||
@@ -260,7 +260,6 @@ class HttpTransporter implements HttpTransporterInterface
|
||||
return new Response(
|
||||
$psr7Response->getStatusCode(),
|
||||
$psr7Response->getHeaders(),
|
||||
// @phpstan-ignore-line
|
||||
$body === '' ? null : $body
|
||||
);
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '7.0-beta1-61711';
|
||||
$wp_version = '7.0-beta1-61712';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user