-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
breaking-changeThe related changes are breaking for the usersThe related changes are breaking for the users
Milestone
Description
The Indexes endpoint class requires updates to Method signatures and PHPDoc to support stricter typing.
File: src/Endpoints/Indexes.php
Action:
newInstance(array $attributes): Add specific PHPDoc array shape.fill(array $attributes): Add specific PHPDoc array shape.create(string $uid, array $options = []): Add PHPDoc@param array{primaryKey?: string} $options.update(array $body): Add PHPDoc defining the expected shape of$body.rawSearch(?string $query, array $searchParams = []): Add PHPDoc defining the return array shape.stats(): Add explicit return type (e.g.,IndexStatsobject) or specific PHPDoc.getSettings(): Add PHPDoc for return array shape.updateSettings($settings): Add type hintupdateSettings(array $settings)(or accept a Settings object).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breaking-changeThe related changes are breaking for the usersThe related changes are breaking for the users