wp-includes/php-ai-client/third-party/Nyholm/Psr7/ServerRequest.php:142$attribute$valuestatic public function withAttribute($attribute, $value): ServerRequestInterface { if (!\is_string($attribute)) { throw new \InvalidArgumentException('Attribute name must be a string'); } $new = clone $this; $new->attributes[$attribute] = $value; return $new; }Unchanged from 7.0.4 through 7.1.0.
Signature, return type and hooks compared across 2 parsed releases.
src/wp-includes/php-ai-client/third-party/Nyholm/Psr7/ServerRequest.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.