Add @method declarations to Interfaces #2998
Labels
feature-request
A feature should be added or improved.
needs-triage
This issue or PR still needs to be triaged.
Describe the feature
Currently
@method
declarations 's only exist on the implementations but not the interface -Compare
S3Client
aws-sdk-php/src/S3/S3Client.php
Lines 36 to 235 in 6330c33
S3ClientInterface
aws-sdk-php/src/S3/S3ClientInterface.php
Lines 2 to 11 in 6330c33
Use Case
It would be very helpful for IDEs and static analysis and other such tools if the
@methods
were also on the interfaces.Compare current autocompletion for interface vs instance
Proposed Solution
I presume these are generated but I am unsure - it would be nice if whatever generated these could also append them to the interfaces.
If they are not generated, I'd be more than happy to open a PR copying them over myself.
Other Information
No response
Acknowledgements
SDK version used
3.321.13
Environment details (Version of PHP (
php -v
)? OS name and version, etc.)PHP 8.3.11 - doesn't matter
The text was updated successfully, but these errors were encountered: