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:
Weston Ruter
2026-02-20 21:25:41 +00:00
parent 227c256c50
commit ee795e634e
3 changed files with 1 additions and 4 deletions

View File

@@ -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
{

View File

@@ -260,7 +260,6 @@ class HttpTransporter implements HttpTransporterInterface
return new Response(
$psr7Response->getStatusCode(),
$psr7Response->getHeaders(),
// @phpstan-ignore-line
$body === '' ? null : $body
);
}

View File

@@ -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.