wp-includes/php-ai-client/third-party/Nyholm/Psr7/ServerRequest.php:129$attribute$defaultoptionalnullmixed public function getAttribute($attribute, $default = null) { if (!\is_string($attribute)) { throw new \InvalidArgumentException('Attribute name must be a string'); } if (\false === \array_key_exists($attribute, $this->attributes)) { return $default; } return $this->attributes[$attribute]; }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.